Advertisement
dllbridge

Untitled

Mar 6th, 2022
1,136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.39 KB | None | 0 0
  1.  
  2.  
  3.  
  4. #include       <stdio.h>
  5.  
  6.  
  7.  
  8. int n = 9;
  9.  
  10.  
  11.  
  12. /////////////////////////////////////////////////////////////////
  13. struct TTT
  14. {
  15.    
  16.     int n;  // old
  17.    
  18.     char sz[123];
  19. };
  20.  
  21.  
  22.  
  23. ///////////////////////////////////////////////////////////////////////////////
  24. int main()                                                                   //
  25. {
  26.  
  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. int n = 9;
  73.  
  74.  
  75. char sz[123] = "Dima jhghjghjghj";
  76.  
  77. ///////////////////////////////////////////////////////////////////////////////
  78. int main()                                                                   //
  79. {
  80.    
  81.     sz[4] = 0;
  82.    
  83.     for(int i = 0; i < 17; i ++)
  84.     {
  85.    
  86.        printf("sz[%2d] = %3d (%c) \n", i, sz[i], sz[i]);   
  87.     }
  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.  
  113.  
  114.  
  115. /*
  116. struct TTT
  117. {
  118.    
  119.     int n;  // old
  120.    
  121.     char sz[123];
  122. };
  123.  */
  124. //  struct TTT y;
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149. /*
  150. #include       <stdio.h>
  151.  
  152.  
  153.  
  154. int n = 9;
  155.  
  156.  
  157. struct TTT
  158. {
  159.    
  160.     int n; 
  161. };
  162.  
  163.  
  164. ///////////////////////////////////////////////////////////////////////////////
  165. int main()                                                                   //
  166. {
  167.    
  168.    
  169.     struct TTT y;
  170.    
  171.     y.n = 777;
  172.    
  173.    
  174.     printf("Size of int = %d", sizeof(struct TTT));    
  175.  
  176.  
  177. return 7686;
  178. }
  179.  
  180.  
  181. */
  182.  
  183.  
  184.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement