#include "stdio.h"
int main()
{
char* a10[] = {"a10","b","c"};
char* a11[] = {"a11","b","c"};
char* a12[] = {"a12","b","c"};
char* a13[] = {"a13","b","c"};
char** b10[] = {a10,a11,a12,a13};
char* a20[] = {"a20","b","c"};
char* a21[] = {"a21","b","c"};
char* a22[] = {"a22","b","c"};
char* a23[] = {"a23","b","c"};
char** b11[] = {a10,a11,a12,a13};
char*** c[] = {b10,b11};
int i,j,k;
for(i =0;i<2;i++)
{
printf("4级指针\n");
for(j =0 ;j<4;j++)
{
for(k = 0;k<3;k++)
{
printf("%s\n",c[i][j][k]);
}
}
}
return 0;
}
指针的指针的应用,
c和指针(3)
最新推荐文章于 2019-01-03 18:24:50 发布