Advertisement
dllbridge

Untitled

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