0

How compiler understands prefix and postfix increment ?

If n++ means n = n+1 Then ++n means ______? Give expression

29th Dec 2020, 2:52 PM
Mahesh Bogati
Mahesh Bogati - avatar
2 Respuestas
+ 3
b=a++; // equal b=а; a=a+1; b=++a; // equal а=а+1; b=а;
29th Dec 2020, 2:57 PM
Yuliya Lisogor
Yuliya Lisogor - avatar
0
It's good answer according to the assignment increment Operation. But what about simply: n++ ++n
30th Dec 2020, 3:15 AM
Mahesh Bogati
Mahesh Bogati - avatar