Question PRG-C-0066
HardWhat is the output of this program?
#include <stdio.h>
int main() {
int x = 10;
int y = x++ + 5;
int z = ++x * 2;
printf("%d %d %d", x, y, z);
return 0;
}
- A.
12 15 24
- B.
11 15 22
- C.
Sign up free to see the answer and a step-by-step explanation.