Understanding Pre and Post Increment through a program

This C++ program is used to understand pre increment and post increment.