请教C语言中为什么scanf_s后面一定要加getchar,while语句才可以运行?

图片说明