#include <stdio.h>
int main(){
char *arr[2]={"heima","heima"};
printf("%s\n%s\n",arr[0],arr[1]);
printf("%p\n%p\n",arr[0],arr[1]);
return 0;
#include <stdio.h>
int main(){
char arr[2][8]={"heima","heima"};
printf("%s\n%s\n",arr[0],arr[1]);
return 0;
}
|
|