differentiate between postfix and prefix
Answers
Answered by
3
Explanation:
The difference between the two lies in their return values. The prefix increment returns the value of a variable after it has been incremented. On the other hand, the more commonly used postfix increment returns the value of a variable before it has been incremented.
Hope it helps you...
Mark as a brain lest plz....
Answered by
11
PREFIX:-
The prefix increment returns the value of a variable after it has been incremented.
POSTFIX:-
Postfix increment returns the value of a variable before it has been incremented.
Thanks ❤❤❤❤
Similar questions