#include <stdio.h> int main() { char *c="12"; // 声明 char 变量 printf("s: %p\n", *c);//输出字符串地址 printf("s: %s\n", c);//输出字符串 return 0; }