summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoradventuretc <adventuretc@users.noreply.github.com>2014-09-27 21:38:30 +0200
committeradventuretc <adventuretc@users.noreply.github.com>2014-09-27 21:38:30 +0200
commita5b7319eac940cd81693fd590f3df01b5a70816b (patch)
tree25685e333ddc7ca89742a044db710a944406a96b
parent66f62c63cad4fa100ddc13368486538e0b7dd797 (diff)
Correction to use the intended variables.
-rw-r--r--c.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/c.html.markdown b/c.html.markdown
index cbb6d289..10e6fa45 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -217,7 +217,7 @@ int main() {
int e = 5;
int f = 10;
int z;
- z = (a > b) ? a : b; // => 10 "if a > b return a, else return b."
+ z = (e > f) ? e : f; // => 10 "if e > f return e, else return f."
//Increment and decrement operators:
char *s = "iLoveC";