mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Merge pull request #790 from adventuretc/patch-2
Correction to use the intended variables.
This commit is contained in:
commit
c77c92818c
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user