summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNami-Doc <vendethiel@hotmail.fr>2014-09-27 21:59:11 +0200
committerNami-Doc <vendethiel@hotmail.fr>2014-09-27 21:59:11 +0200
commitc77c92818c1183ee62e0a55836abf1abcf1bc3ff (patch)
treed864862edbf3c45df59953a45e637c07429ddcde
parent160c82684721b62e3369a912542a5f045d286d9c (diff)
parenta5b7319eac940cd81693fd590f3df01b5a70816b (diff)
Merge pull request #790 from adventuretc/patch-2
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";