c语言——用二维数组名对二级指针赋值
用二维数组名对二级指针进行赋值后,二级指针的指针运算操作是与二维数组的指针运算有区别的。通过下面的例子你将了解到二维数组与二级指针进行指针运算的本质区别。char array[3][4]={"January","February","March","April","May","June","July","August","Setember","October","November","December"}; // 定义二维数组char **p; // 定义二级指针p=array;
原创
2021-05-30 01:31:45 ·
3693 阅读 ·
3 评论