How the value of variable a=4? can anyone explain because we have incremented b=++a which is 4 but how a become 4?
For further actions, you may consider blocking this person and/or reporting abuse
For further actions, you may consider blocking this person and/or reporting abuse
Daniel Azevedo -
Ian Ndeda -
Aleksa MitroviΔ -
Adel Ali -
Top comments (1)
It depends upon the position of
++
- if it is before the variable, it will increase the value in the variable and return the new value. If it is after, it will return return the value before the increment, but still increase the value stored in the variable.