#include<stdio.h> main() { char ch; printf("Press a key and then press Enter:"); ch=getchar(); ch=ch+32; printf("%c,%d\n",ch,ch); return 0; }
运行结果为: