#include<stdio.h>
int main()
{
int arr1[] = {1,2,3,4};
int arr2[] = {2,3,4,5};
int arr3[] = {3,4,5,6};
int* prr[] = { arr1,arr2,arr3 };
int i = 0;
for (i = 0; i < 3; i++)
{
int j = 0;
for (j = 0; j < 4; j++)
{
printf("%d ", prr[i][j]);
}
printf("\n");
}
return 0;
}
一级指针变量以二级指针的方式打印出来
最新推荐文章于 2024-11-12 19:33:45 发布