mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Correction to use the intended variables.
This commit is contained in:
parent
66f62c63ca
commit
a5b7319eac
@ -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