반응형

//typedef 키워드!!
// 새로운 타입으로 정의 하겠다!!

#include <stdio.h>
 

//typedef int INT;

/*typedef struct Student
{
     int a;
}STUDENT;*/
 

struct Student
{
      int Snum;//학번
      int age;//나이
      int Grade;//학년
      char name[20];//이름 
};
 

typedef struct Student STUDENT;
 

void main()
{
 

}

by 훈강

반응형

'프로그래밍 > Language C' 카테고리의 다른 글

[C언어] IO  (0) 2011.11.15
[C언어] 구조체 리뷰  (0) 2011.11.15
[C언어] 구조체 배열  (0) 2011.11.15
[C언어] 구조체  (0) 2011.11.15
[C언어] 포인터 #2  (0) 2011.11.15