+ 1
Precedence of operators
In this code if variable passed 0 result to the condition why result is 4 in else block? https://code.sololearn.com/c0vgSFyS7D7q/?ref=app
5 Respuestas
+ 2
https://code.sololearn.com/cYN26HkMh8t2/?ref=app
+ 2
After closing parenthesis if the a variable is 1 the condition is true in this case condition is false meanes a=0
+ 2
No. a++ means it first uses the value of a, then increments it no matter what happens.
0
🙏