请问scanf("%*c");这句话表达什么意思?为什么加个“*”?
只输入而不保存到变量里,见MSDN:
An asterisk (*) following the percent sign suppresses assignment of the next input field, which is interpreted as a field of the specified type. The field is scanned but not stored.