0
If there is an increment operator in an if statement, if (x++>12) { }, will the value of x change in the remaining steps?
The increment value when it is in expression like y = x ++; then the value of x changes.
2 Respostas
+ 7
The statements in the if condition will be executed. Prefix/postfix operators will follow their own rules and be carried out by the program.
https://www.sololearn.com/Discuss/407846/?ref=app
0
x will be increased
just try to print x after IF