Computer Science, asked by chandu42, 1 year ago

difference between pre incriment and post increment

Answers

Answered by riyyaa
1
Pre increament tellsus change and then use but post increament tells that use and then change
Answered by siddhartharao77
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