#include <stdio.h> int main (void) { char **a,*s[]={"123","456","789"},s1[][5]={"aaa","bbb","ccc"}; a=s; printf("%c %c",*a[1],(*a)[1]); }
#include <stdio.h> int main (void) { int a[3][3]={{1,2,3},{4,5,6},{7,8,9}},*pp; int i=0,j=0; double **p,*p1; printf("%x\n",a[0]); for(i=0;i<3;i++) for(j=0;j<3;j++) printf("%d ",*(*(a+i)+j)); for (i=0;i<4;i++) { printf("\ndouble **%x double*%x int *%x\n",p++,p1++,pp++); } return 0; }