Advertisement
Mihai_Preda

Untitled

Nov 15th, 2020
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  1. /**
  2.  * Copyright ITOIT Meditatii SRL
  3.  * Lesson challenge
  4.  */
  5. #include <cstdio>
  6.  
  7. void f()
  8. {
  9.     printf("f a fost apelat\n");
  10. }
  11.  
  12. int g(int x)
  13. {
  14.     return x + 2;
  15. }
  16.  
  17. int main()
  18. {
  19.     int a = 5;
  20.     f();
  21.     printf("%d", g(a));
  22.     return 0;
  23. }
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement