#include <stdio.h>
int main(int argc, const char * argv[]) {
char c;
scanf("%c",&c);
printf("c=%d\n",c);
printf("c='%c'\n",c);
return 0;
}
字符的输入输出
最新推荐文章于 2023-03-30 18:01:49 发布
#include <stdio.h>
int main(int argc, const char * argv[]) {
char c;
scanf("%c",&c);
printf("c=%d\n",c);
printf("c='%c'\n",c);
return 0;
}