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

C Programming Language >   Operators and Enums in C Language >   Assignment Operators in C  

Short Question

12554


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.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.