自定义数据类型为什么这样初始化不对啊??
#include<stdio.h>struct Student
{
int num;
char name[20];
char sex;
int age;
struct Student *next;
};
int main()
{
struct Student a[4],*head,*p;
int i,k,z=0;
a[0].num=100;
a[0].name="li lei";// 这里出错 error C2106: '=' : left operand must be l-value