0
So i understand that x++ is changing the vafiable after it is used and ++x before. But in the example of x = 5 y = ++x Why does y not equal 6 when x gets changed before use.
2 Respuestas
0
y=6 ! it's working.first y equal 1 and 5!
0
yes he has rason, if there x=5 y=x++, y Will be 5 and x=6