Duyên Trương
New member
What will be output of the following C code?
A. 4,3,3
B. 3,3,3
C. 2,3,3
D. 4,4,3
Code:
#include <stdio.h>
int main()
{
int x=4, y, z;
y = --x;
z = x--;
printf("%d, %d, %d\n", x, y, z);
return 0;
}
B. 3,3,3
C. 2,3,3
D. 4,4,3