void main() { int x =0; x+= 10; x= x-4; x++; --x; printf("%d",x++);
}
What is the value of x in the print statement ??
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Answer is 6;
x=0; x=10; x=6; x= 7; x=6; then print x =6 ; after that x =7;