1.

Tell the output : n=5;x,y; if x=n++;y=x--

Answer»

You MISS the PRINT STATEMENT so i will answering the value of each variable.
x=n++;
after this statement.
x=5 and n=6
y=x--;
after this statement
y=5 and x=4
so FINAL value of variable is
n=6 , x=4, y=5



Discussion

No Comment Found