Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream.h>
- #include <conio.h>
- void main ()
- {
- int x = 10;
- cout << " x = " << x << endl;
- cout << "\n ++x = " << ++x << endl;
- cout << " x++ = " << x++ << endl;
- cout << "\n x = " << x << endl ;
- cout << "\n --x = " << --x << endl;
- cout << " x-- = " << x-- << endl;
- cout << "\n x = " << x << endl ;
- getch ();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement