Advertisement
adnan_toky

Untitled

Feb 28th, 2020
593
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.38 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main(){
  4.     int x;
  5.     x = 5;
  6.     printf("%d %d\n\n", x++, ++x);
  7.     x = 5;
  8.     printf("%d %d\n\n", ++x, x++);
  9.     x = 5;
  10.     printf("%d %d %d\n\n", ++x, x++, x);
  11.     x = 5;
  12.     printf("%d %d %d\n\n", x, x++, ++x);
  13.     x = 5;
  14.     printf("%d %d %d %d %d\n\n", x, ++x, x++, ++x, x++);
  15.     x = 5;
  16.     printf("%d %d %d %d %d %d %d %d %d", x++, ++x, x++, ++x, x++, x, x, x++, x++);
  17.  
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement