What is difference between ++a and a++?
Answers
Answered by
6
Answer:
++a is pre increment operator.. The value will be increased by 1.. for eg ++6 means it'll b 7.. a++ is post increment operator.. the value will be increased in memory but not actually.. for eg,6++ is calculated as 6 but stored in memory as 7..
Similar questions