关于字符变量输出问题
#include <stdio.h>int main (void)
{
char ch1='A'
printf (" == 1234567890\n",ch1);
printf (" 1. %c\n",ch1);
printf (" 2. %5c\n",ch1);
printf (" 3. %5d\n",ch1);
printf (" 4. %5x\n",ch1);
printf (" 5. %5o\n:,ch1);
return 0;
}
结果是
1.A
2. A
3. 65
4. 41
5. 101
请问3-5结果是怎么算出来的