抑制符
#include <stdio.h>
/*
一般情况下,连续输入%d,scanf会自动过滤掉不可见字符,但是如果后面跟的字符输入就要格外小心,因为系统会把空格或者回车当成要输入的字符,赋值给ch
*/
int main()
{
int i;
char ch;
scanf("%d",&i);
scanf("%*c%c",&ch);
//%*c:是抑制符,表示丢弃一个char字符
printf("%d %d\n",i,ch);
return 0;
}