比如: int *p[3];
struct my { int a; int b; int c; };
my number={0}; p[0]=&number.a;
为什么这样编译不通过呢?请问这样是合法的吗?
收起
合法。用vc2010编译没问题。
报告相同问题?