摘要: 记录一个笔试题,下面哪里会报错 #include <stdio.h> struct S { int i; int *p; }; int main() { S s; int *p = &s.i; p[0] = 3;//i=3,s.p=0; p[1] = 4;//i=3,s.p=4 s.p = p;// 阅读全文
posted @ 2020-05-12 17:35 cicero 阅读(96) 评论(0) 推荐(0) 编辑