What is the difference between pre increment operator and post increment operator?

Short Answer
Views 12242

Answer:

  • Pre increment operator is used to increment variable value by 1 before assigning the value to the variable.
  • Post increment operator is used to increment variable value by 1 after assigning the value to the variable.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.