Advertisement
laith-0093

C++

Jan 16th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <iostream.h>
  2. #include <conio.h>
  3. void main ()
  4. {
  5. int x = 10;
  6. cout << " x = " << x << endl;
  7. cout << "\n ++x = " << ++x << endl;
  8. cout << " x++ = " << x++ << endl;
  9. cout << "\n x = " << x << endl ;
  10. cout << "\n --x = " << --x << endl;
  11. cout << " x-- = " << x-- << endl;
  12. cout << "\n x = " << x << endl ;
  13. getch ();
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement