Some extra information

This commit is contained in:
Elton Viana 2015-10-14 21:44:42 -03:00
parent a62d99a393
commit 328ceb1a94

View File

@ -221,7 +221,7 @@ int main(void) {
0 || 1; // => 1 (Logical or)
0 || 0; // => 0
// Conditional expression ( ? : )
// Conditional ternary expression ( ? : )
int e = 5;
int f = 10;
int z;
@ -291,6 +291,8 @@ int main(void) {
for (i = 0; i <= 5; i++) {
; // use semicolon to act as the body (null statement)
}
// Or
for (i = 0; i <= 5; i++);
// branching with multiple choices: switch()
switch (a) {