char p1[12] = {1,2,3,4,5,6};char (*p2)[3];p2 = &p1;
这样可以实现,但是gcc编译时有警告:
warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
相关分类