printf %c

char ch;

printf("%c",&ch);//接受空字符在内的所有字符

printf(" %c",&ch);//接受非空字符。%前面有空格


原文地址:https://www.cnblogs.com/nizuimeiabc1/p/4254273.html