Explain the difference between ++u and u++?
S.no | ++u | u++ |
---|---|---|
1. | Called prefix increment. | Called postfix increment |
2. | Increment happens on the variable first. | Increment happens after variable’s value is used. |
Suggest An Answer
No suggestions Available!