// Æ÷ÀÎÅ͸¦ ÅëÇÑ ±¸Á¶Ã¼ ÂüÁ¶
#include <stdio.h>
struct student {
int number;
char name[20];
double grade;
};
int main(void)
{
struct student s = { 20070001, "È«±æµ¿", 4.3 };
struct student *p;
p = &s;
printf("Çйø=%d À̸§=%s ÇÐÁ¡=%f \n", s.number, s.name, s.grade);
printf("Çйø=%d À̸§=%s ÇÐÁ¡=%f \n", (*p).number, (*p).name, (*p).grade);
printf("Çйø=%d À̸§=%s ÇÐÁ¡=%f \n", p->number, p->name, p->grade);
return 0;
}