Advertisement
dllbridge

Untitled

Feb 15th, 2023
1,069
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.50 KB | None | 0 0
  1.  
  2. #include   <stdio.h>
  3.  
  4.  
  5.  
  6. int n = 9;
  7. ///////////////////////////////////////////////////////////////////
  8. struct lkjdfg
  9. {
  10.    
  11.     int t;
  12.    
  13.     int t2;
  14.    
  15.     char szName[100];
  16. };
  17.  
  18. lkjdfg  arr[30];
  19.  
  20. ////////////////////////////////////////////////////////////////////////
  21. int main()                                                            //
  22. {
  23.    
  24.  
  25.    
  26.    
  27.     arr[1].t2 = 1234567;
  28.  
  29.     printf("arr[1].t  =  %d\n", arr[1].t );                
  30.     printf("arr[1].t2 =  %d\n", arr[1].t2);    
  31.  
  32. return 0;
  33. }
  34.  
  35.  
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement