difference between pre incriment and post increment
Answers
Answered by
1
Pre increament tellsus change and then use but post increament tells that use and then change
Answered by
2
1. pre-increment increase the value of the variable before executing the statement.
Ex : ++x;
2.post-increment increase the value of the variable after executing the statement.
Ex : x++
Hope this helps!
Similar questions