printf %c

char ch;

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

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


posted @ 2012-03-29 17:36  ppjj  阅读(244)  评论(0编辑  收藏  举报