Advertisement
dllbridge

Untitled

Jan 22nd, 2023
1,321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.75 KB | None | 0 0
  1.  
  2.  
  3. #include   <stdio.h>
  4.  
  5.  
  6. int xn = 60;
  7.  
  8. //char sz[111] = "SONY = 0";
  9. char sz[111] = {'S', 'O', 78, 'Y'};
  10.  
  11. int foo();
  12.  
  13. /////////////////////////////////////////////////////////////
  14. int main()                                                 //  
  15. {
  16.    
  17.     //sz[2] = '0';
  18.    
  19.    
  20.  
  21.        printf("%s", sz );
  22.  
  23.  
  24. }
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40. /*
  41. #include   <stdio.h>
  42.  
  43.  
  44. int xn = 60;
  45.  
  46. char sz[111] = "SONY = 0";
  47. //char sz[111] = "SONY = 0";
  48.  
  49. int foo();
  50.  
  51. /////////////////////////////////////////////////////////////
  52. int main()                                                 //  
  53. {
  54.    
  55.     sz[2] = 0;
  56.    
  57.    
  58.     for(int i = 0; i < 8; i++)
  59.     {
  60.        printf("%c", sz[i] );
  61.        
  62.     }
  63.  
  64. }
  65.  
  66.  
  67.  
  68.  */
  69.  
  70.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement