diff options
Diffstat (limited to 'c.html.markdown')
| -rw-r--r-- | c.html.markdown | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/c.html.markdown b/c.html.markdown index 7c64cffe..d7a21e58 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -234,7 +234,7 @@ int main (int argc, char** argv)    0 || 1; // => 1 (Logical or)    0 || 0; // => 0 -  // Conditional expression ( ? : ) +  // Conditional ternary expression ( ? : )    int e = 5;    int f = 10;    int z; @@ -304,6 +304,8 @@ int main (int argc, char** argv)    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) { | 
