嵌套结构的使用问题
#include<stdio.h>
typedef struct a{
char name[8];
int count;
}Name;
typedef struct b{
Name *point[3];
}P;
int main(){
P Student;
Student.point[0]->count = 100;
//为什么运行时 错误啊 ............
return 0;
}
[解决办法]
相当于使用了一个..没有指向的指针..
int *p;
*p = 123;
===================================