1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-31 12:00:34 +02:00

Merge pull request #790 from adventuretc/patch-2

Correction to use the intended variables.
This commit is contained in:
Nami-Doc
2014-09-27 21:59:11 +02:00

View File

@@ -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";