CodePudding user response:
The scanf the end, a special characters such as input q again and press enter and you think that the end of the inputCodePudding user response:
Because the scanf is a built-in function return value, the number of digits in a return value==the scanf readCodePudding user response:
The scanf (" XXX ", & amp; XXX)!=EOFUnder Windows is input keyboard shortcuts: CTR + z
Linux input keyboard shortcuts: CTR + d
CodePudding user response: