Increment Operator in C
Level 238 keystrokes
Raises i from 5 to 6 with the increment operator ++ and prints "i = 6".
C code
// i starts at 51int i = 5;// ++ adds 1 to i (same as i = i + 1), so i becomes 62i++;// Prints the new value: "i = 6"3printf("i = %d\n", i);Output
i = 6
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this C code and how often they appear.
;× 3"× 2+× 2=× 2,× 1(× 1)× 1\× 1%× 1