Advertisement
dllbridge

Untitled

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