#include <iostream.h>
#include<conio.h>;
void main()
{
int a=1, b=5;
clrscr();
cout<<"\nvalue of a";
cout<< "\nBefore PostIncrement = "<<a;
a++;
cout<<"\nvalue of a";
cout<< "\nAfter PostIncrement = "<<a;
a--;
cout<<"\nValue of a";
cout<< "\nAfter Post Decrement = "<<a;
cout<<"\nValue of b";
cout<< "\nBefore Pre Increment = "<<b;
++b;
cout<<"\nValue of b";
cout<< "\nAfter Pre Increment = "<<b;
--b;
cout<<"\nValue of b";
cout<<"\nAfter Pre Decrement = "<<b;
cout<<"\n";
getch();
}