0
postfix and prefix
explain this in best and simple way int a = 8 ; int b = 7 ; b = a++ cout <<++b;
2 Respuestas
+ 4
b=a++
b equals to whatever a is
then a is incremented by 1 while b took it value before the increment happened.
cout << ++b;
output to screen, but first incrememt b by 1.
0
i agree with Burey