#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;
}
이거 왜 에러나는거야??ㅠㅠㅠㅠㅜㅠ

인스티즈앱
어제 딸이 성심당에 가서 빵을 많이 사와서 친정엄마한테 좀 드렸는데.thread