Advertisement
dllbridge

Untitled

Nov 13th, 2023
896
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.71 KB | None | 0 0
  1.  
  2.  
  3.  
  4. #include   <stdio.h>
  5.  
  6.  
  7. char sz1[99] = "SONY Pictures";
  8.  
  9.  
  10. ////////////////////////////////////////////////////////
  11. int main()                                            //
  12. {
  13.    
  14.     int n = 0;
  15.  
  16.    
  17. L_01:  
  18.        printf("%c, ", sz1[n]);
  19.        
  20.        n++;
  21.    
  22.        if(n < 14) goto L_01;
  23. }
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32. void Nina()
  33. {
  34.    
  35.     return;
  36. }
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. /*
  56. #include   <stdio.h>
  57.  
  58.  
  59. char sz1[99] = "SONY Pictures";
  60.  
  61.  
  62. ////////////////////////////////////////////////////////
  63. int main()                                            //
  64. {
  65.    
  66.    
  67.  
  68.     for(int n = 0; n < 15; n++)
  69.     {
  70.        printf("%c, ", sz1[n]);
  71.        
  72.     }
  73.  
  74. }
  75.  
  76.  
  77.  
  78.  
  79. */
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97. /*
  98. #include   <stdio.h>
  99.  
  100.  
  101. char sz1[99] = "SONY Pictures";
  102.  
  103.  
  104. ////////////////////////////////////////////////////////
  105. int main()                                            //
  106. {
  107.    
  108.     int n = 0;
  109.  
  110.     while(n < 15)
  111.     {
  112.        printf("%c, ", sz1[n]);
  113.        
  114.        n++;   //n += 1; //n = n + 1;
  115.     }
  116.  
  117. }
  118.  
  119.  
  120.  
  121.  
  122. */
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145. /*
  146.  
  147. #include   <stdio.h>
  148.  
  149.  
  150. char sz1[99] = "SONY";
  151.  
  152.  
  153. ////////////////////////////////////////////////////////
  154. int main()                                            //
  155. {
  156.    
  157.  
  158.    
  159.     printf("%d, ", sz1[0]);
  160.     printf("%d, ", sz1[1]);  
  161.     printf("%d, ", sz1[2]);
  162.     printf("%d, ", sz1[3]);
  163.     printf("%d, ", sz1[4]);
  164. }
  165.  
  166.  
  167.  
  168.  
  169. */
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191. /*
  192.  
  193. #include   <stdio.h>
  194. #include  <locale.h>
  195.  
  196.  
  197.  
  198.  
  199.  
  200. ////////////////////////////////////////////////////////
  201. int main()                                            //
  202. {
  203.    
  204.      setlocale(0, "Rus");
  205.    
  206.      printf("Привет! \n");
  207.      
  208.      
  209.      printf("LC_ALL = %d", LC_ALL);
  210.    
  211. }
  212.  
  213.  
  214.  
  215. */
  216.  
  217.  
  218.  
  219.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement