#include <stdio.h>
#include<string.h>
struct myinfo
{
char name[30];
char major[50];
char mynumber[20];
}form;
int main(void)
{
struct myinfo * one = form.name;
struct myinfo * two = form.major;
struct myinfo * three = form.mynumber;
scanf("%s",*one);
scanf("%s",*two);
scanf("%s",*three);
printf("%s",form.name);
printf("%s",form.major);
printf("%s",form.mynumber);
return 0;
}
이거 왜 에러나는거야??ㅠㅠㅠㅠㅜㅠ
#include<string.h>
struct myinfo
{
char name[30];
char major[50];
char mynumber[20];
}form;
int main(void)
{
struct myinfo * one = form.name;
struct myinfo * two = form.major;
struct myinfo * three = form.mynumber;
scanf("%s",*one);
scanf("%s",*two);
scanf("%s",*three);
printf("%s",form.name);
printf("%s",form.major);
printf("%s",form.mynumber);
return 0;
}
이거 왜 에러나는거야??ㅠㅠㅠㅠㅜㅠ

인스티즈앱
엄청난 속도로 망해간다는 산업