Q. What is the output of the following C program?
Code:
#include <stdio.h>
void main()
{
int x = 3;
int y = ++x + x++ + --x;
printf("Value of y is %d", y);
}
β
Correct Answer: (B)
Value of y is 13