CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

Chained Compound Assignments

C code walkthrough · Question 14
easyOperators

Code

Read carefully. What does this print?
1#include <stdio.h>
2int main() {
3 int x = 10;
4 x += 5;
5 x *= 2;
6 x -= 3;
7 printf("%d\n", x);
8 return 0;
9}

Your answer