Advertisement
mario_mos

t

Jul 21st, 2023
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <limits.h>
  3.  
  4. int main()
  5. {
  6. int a = 3;
  7. printf("a = %d\n",a);
  8.  
  9. int b = ++a;
  10. printf("a = %d\n",a);
  11. printf("b = %d\n",b);
  12.  
  13.  
  14. return 0;
  15. }
  16. /*15:14:13: Starting /home/mariomoser/C_learning_journey/build-exemple_1-Desktop-Debug/exemple_1...
  17. a = 3
  18. a = 4
  19. b = 4
  20. 15:14:13: /home/mariomoser/C_learning_journey/build-exemple_1-Desktop-Debug/exemple_1 exited with code 0*/
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement