Advertisement
dllbridge

Untitled

Dec 15th, 2023
998
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.39 KB | None | 0 0
  1.  
  2.  
  3. #include   <stdio.h>
  4.  
  5.  
  6.  
  7.  
  8. char *psz[11];
  9.  
  10.  
  11.  
  12. char sz1[22] = "SONY",
  13.      sz2[22] =  "TDK";
  14.  
  15. ////////////////////////////////////////////////////
  16. int main()                                        //
  17. {
  18.  
  19.     psz[7] = sz1;
  20.     psz[8] = sz2;
  21.  
  22.     printf("Size of psz = %d\n", sizeof(psz) );
  23.    
  24.     printf("psz[7] = %s\n", psz[7]);
  25.     printf("psz[8] = %s\n", psz[8]);
  26. }
  27.  
  28.  
  29.  
  30.  
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement