字符串按%c输出。。
# include <stdio.h>int main(void)
{
char a[10]={"How you?"};
printf("%c\n", a);//这里输出的东西代表什么呢?
return 0;
}
---------------------------------
# include <stdio.h> int main(void) { char a[10] = {"How you?"}; char *p = a; while(*p) printf("%c", *p++); puts(""); return 0; }