구조체 기본모양
#include <stdio.h>
typedef struct StudentTag{
char name[10];
int age;
double gpa;
} student;
int main(void) {
student a = { "kim",20,4.3 };
student b = { "park",21,4.2 };
return 0;
}INFO
#include <stdio.h>
typedef struct StudentTag{
char name[10];
int age;
double gpa;
} student;
int main(void) {
student a = { "kim",20,4.3 };
student b = { "park",21,4.2 };
return 0;
}