1 /* 2 **The test of pointer int and char 3 */ 4 #include<stdio.h> 5 #include<stdlib.h> 6 7 int main(void) 8 { 9 /*int * p; 10 11 char a[9]; 12 13 p = gets(a); 14 15 16 printf("%s",p); 17 */ 18 int * p; 19 int a[9]; 20 21 p = gets(a); 22 23 printf("%s\n",a); 24 printf("%p\n",a); 25 printf("%d\n",*a); 26 printf("%d",a); 27 return EXIT_SUCCESS; 28 }