#include <stdio.h>
int main()
{
int * pValues[3];
int firstValue[3] = {3,4,5};
int secondValue[4] = {6,7,8,9};
int thirdValue[4] = {10,11,12,13};
pValues[0] = firstValue;
pValues[1] = secondValue;
pValues[2] = thirdValue;
printf("pValues[1][3]是%d\n",pValues[1][3]);
return 0;
}
指针数组
最新推荐文章于 2024-04-29 23:50:53 发布