#include using namespace std; int main() { int x, y, a, b; x = a =10; y = ++x; // prefix increment cout <<"\n prefix "<< x << " : " << y; b= a++; cout <<"\n postfix "<< a << " : " << b ; char ch1 , ch2; ch1 = 'a'; ch2 = ++ch1; cout <<"\n prefix "<< ch2; ch1 = 'a'; ch2 = ch1++; cout <<"\n postfix "<< ch2; return 0; }