Advertisement
dllbridge

Untitled

Jul 10th, 2024 (edited)
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.48 KB | None | 0 0
  1. #include       <stdio.h>
  2.  
  3.  
  4. int n, y, v;
  5. int   nSumm;
  6. int foo(int n, int y);
  7.  
  8. ////////////////////////////////////////////////////
  9. int main()                                        //
  10. {
  11.    
  12.     n = 10;
  13.     y = 16;
  14.     printf("%d\n", n); 
  15.  
  16.     v = foo(n, y);
  17.     printf("%d\n", foo(n, y));
  18.     printf("%d\n", v);  
  19. }
  20.  
  21.  
  22.  
  23. ///////////////////////////////////////////////////
  24. int foo(int n, int y)                            //
  25. {
  26.        nSumm = n + y;
  27. return nSumm;
  28. }
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement