printf("%c\n",*str);//输出首字符 printf("%s\n",str);//输出整串字符 printf("%p\n",str);//输出字符串首字符地址 printf("%p\n",&str);//输出指针str的地址 相关文章: 2022-12-23 2021-10-20 2022-12-23 2022-12-23 2022-01-11 2021-08-19 2021-07-04 2022-12-23