What is the difference between ++a and a++?

: 318
Paper : C Programming FAQ (Frequently Asked Questions and answers) for freshers | Platform : Procedural Programming Languages | Category : Programming FAQs

++a is the prefix increment operator whose value is increased by 1 first then the operation is performed and a++ is the postfix increment operator whose value increased by 1 after the operation is performed.

Suggested Papers: