Q.

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

A. 12 11 11
B. 12 10 10
C. 11 11 12
D. 10 10 12
Answer» A. 12 11 11
1.4k
0
Do you find this helpful?
19

Discussion

No comments yet

Related MCQs