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 回答
- 0 關注
- 1271 瀏覽
添加回答
舉報
0/150
提交
取消