What is the importance of post increment and pre increment in C++?

162 views

What is the importance of post increment and pre increment in C++?

In: 7

7 Answers

Anonymous 0 Comments

They’re simply there if you need to use the value of the variable before or after you increment it. They’re just short cuts for different operations.

You are viewing 1 out of 7 answers, click here to view all answers.