Predict the output of the following code
#include stdio.h
int main() {
int a=1,b=2,c=3,d=4;
int x[5] ={a,b,c,d};
a=--x[3];
b=x[3]--;
c=++x[3];
d=x[3]++;
printf("%d %d %d %d",a,b,c,d);
return 0;
}


Posted on by