Advertisement
dllbridge

Untitled

Sep 17th, 2023
893
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.97 KB | None | 0 0
  1.  
  2.  
  3. #include   <stdio.h>
  4.  
  5.  
  6.  
  7.  
  8.  
  9. ////////////////////////////////////////////////////
  10. int foo()
  11. {
  12.    
  13. return 117;
  14. }
  15.  
  16.  
  17.  
  18. ////////////////////////////////////////////////////
  19. int main()                                        //
  20. {
  21.    
  22.  
  23.    
  24.     printf("foo() returned %d \n", foo() );
  25.  
  26. }
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46. /*
  47.  
  48. #include   <stdio.h>
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. int n = 4;
  56.  
  57.  
  58.  
  59. ////////////////////////////////////////////////////
  60. int main()                                        //
  61. {
  62.    
  63.    
  64.     int i = 1;
  65.    
  66.  
  67. L_01:      
  68.         printf("%d * %d = %2d \n", n, i, n*i);
  69.        
  70.         i++;
  71.        
  72.         if( i < 10)
  73.         {
  74.             goto L_01;
  75.         }
  76.  
  77. }
  78.  
  79.  
  80. */
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101. /*
  102. #include   <stdio.h>
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109. int n = 7;
  110.  
  111.  
  112.  
  113. ////////////////////////////////////////////////////
  114. int main()                                        //
  115. {
  116.  
  117.     for(int i = 1; i < 10; i++)
  118.     {
  119.        
  120.         printf("%d * %d = %d \n", n, i, n*i);
  121.        
  122.     }
  123.  
  124.  
  125. }
  126.  
  127.  
  128.  
  129. */
  130.  
  131.  
  132.  
  133.  
  134.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement