Increment operator is used to increment the current value of variable by adding integer 1.
Author: Telusko Learnings
But in while loop sometimes we use post increment but why it acts as apre increment
Is this an error?
Please give me answer!
Output I got is 2
Thank you for visualizing the difference here!
i = i++;
Why is every programming tutorial ran by an Indian guy?
give some eg for running multipal inc dec oprator in one line??/ explain with output
Thank you so much, I didn’t understand it before !