0
What will be the output of the following code?
#include<stdio.h>
int main() {
int x=5,y;
y=x++ + ++x;
printf("%d",y);
return 0;
}- A11
- Bcompile time error
- C12
- D10
Correct answer: C
#include<stdio.h>
int main() {
int x=5,y;
y=x++ + ++x;
printf("%d",y);
return 0;
}