#include<stdio.h>
void main()
{
char x;
for(x='A';'A'<=x&&x<='Z';x++)
{
printf("%c\n",printf("%c",x)+' ');
}
}
#include<stdio.h>
void main()
{
char x;
for(x='A';'A'<=x&&x<='Z';x++)
{
printf("%c\n",putchar(x)+' ');
}
}
请问这里printf("%c",x)和putchar(x)有什么区别,为什么第一个输出的不是我想要的答案。