char p1[12] = {1,2,3,4,5,6};char (*p2)[3];p2 = &p1;这样可以实现,但是gcc编译时有警告:warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
1 回答
- 1 回答
- 0 关注
- 1253 浏览
添加回答
举报
0/150
提交
取消