Q.

What will be output if you will compile and execute the following c code? #include<stdio.h>
int main(){
int i=4,x;
x=++i + ++i + ++i;
printf("%d",x); return 0;
}

A. 21
B. 18
C. 12
D. compiler error
Answer» A. 21
3.3k
0
Do you find this helpful?
28

Discussion

No comments yet

Related MCQs