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

Long Answer
Views 5251

Answer:

  • Pre decrement operator is used to decrement variable value by 1 before assigning the value to the variable.
  • Post decrement operator is used to decrement 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.