Advertisement
dllbridge

Untitled

Jan 25th, 2024
588
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.42 KB | None | 0 0
  1.  
  2.  
  3. #include   <stdio.h>
  4. #include   <string.h>
  5.  
  6. ///////////////////////////////////////////////////
  7. struct Man
  8. {
  9.    
  10.      char szName[99];
  11.    
  12.      int  nOld;
  13.      
  14. }M1, M2;
  15.  
  16.  
  17. Man M3;
  18.  
  19.  
  20. ////////////////////////////////////////////////////
  21. int main()                                        //
  22. {
  23.  
  24.     Man M4;
  25.  
  26.  
  27.     M3.nOld = 11;
  28.  
  29.     strcpy(M3.szName, "Jhon");
  30.    
  31.    
  32.     printf("%d, %s \n", M3.nOld, M3.szName);
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement