3. Arrays of Structures
 
Declaring arrays of int: int x[10];
Declaring arrays of structure: struct point p[10];
Initializing arrays of int: int x[4]={0,20,10,2};
Initializing arrays of structure:  
  struct point p[3]={0,1,10,20,30,12};
  struct point p[3]={{0,1},{10,20},{30,12}};
 
 
 
 
이전페이지 / 4 / 다음페이지