经典错误!!!!!大家看看有错吗?
#include <stdio.h>#include <string.h>
struct Student
{
int age;
char name[10];
};
void main()
{
Student stu;
stu.age=14;
stu.name="dadada";
printf("student age is %d name is %s",stu.age,stu.name);
}
大家看看哪错了?呵呵..........