What is the difference between the two operations?
i++ or i--
++i or --i
Answers
Answered by
3
Answer:
The only difference is the order of operations between the increment of the variable and the value the operator returns. So basically ++i returns the value after it is incremented, while i++ return the value before it is incremented. At the end, in both cases the i will have its value incremented.
PLZ MARK BRAINLIEST , FOLLOW ME AND THX FOR UR SUPERB QUESTION
Answered by
1
Answer:
increment
Explanation:
the i++ return before it increment while
Similar questions