Advertisement
dllbridge

Untitled

Oct 25th, 2023
849
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.17 KB | None | 0 0
  1.  
  2. #include   <stdio.h>
  3.  
  4.  
  5.  
  6.  
  7. char c = '!';
  8.  
  9. int  nDima = 71;
  10.  
  11.  
  12. ////////////////////////////////////////////////////
  13. int main()                                        //
  14. {
  15.    
  16.    
  17.     printf("%c\n", c);
  18.    
  19.   //scanf("%c", &c);
  20.    
  21.     scanf ("%d"  , &nDima);
  22.     printf("%d\n",  nDima);
  23.    
  24.     printf("%d\n",  sizeof(char) );
  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. #include   <stdio.h>
  54.  
  55.  
  56.  
  57.  
  58. char c = '!';
  59.  
  60. char sz[23] = "Apple";
  61.  
  62. ////////////////////////////////////////////////////
  63. int main()                                        //
  64. {
  65.  
  66.     printf("%c\n", c);   
  67.     printf("%d\n", c);
  68.    
  69.     c = 72;  
  70.    
  71.     printf("%c\n", c); 
  72.     printf("%c\n", sz[3] );
  73.    
  74.     sz[3] = 'S';  
  75.     printf("%s\n", sz);    
  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.  
  103.  
  104.  
  105. /*
  106.  
  107.  
  108. #include   <stdio.h>
  109.  
  110.  
  111. int n = 14;
  112.  
  113. char sz[23] = "Apple";
  114.  
  115.  
  116.  
  117. ////////////////////////////////////////////////////
  118. int main()                                        //
  119. {
  120.  
  121.  
  122.     printf("SONY\n");
  123.     printf("%s\n", "SONY");
  124.     printf("%d\n",     50);  
  125.     printf("%d\n",      n);
  126.    
  127.     n ++;
  128.      
  129.     printf("%d - - - %s\n",  n, sz);         
  130.  
  131. }
  132.  
  133.  
  134.  
  135.  
  136. */
  137.  
  138.  
  139.  
  140.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement