請問出現什麼問題?系統是WIN7
main(){
struct stu
{
int num;
char *name;
char sex;
float score;
};
struct stu boy1,boy2;
boy1.num=102;
boy1.name="zhany ping";
printf("input sex and score\n");
scanf("%c %f",&boy1.sex,&boy1.score);
boy2=boy1;
printf("number=%d\nname=%s\n",boy2.num,boy2.name);
printf("%sex=%c\nscore=%f\n",boy2.sex,boy2.score);
}