%d

scanf %d %f %o 忽略空白字符

scanf %c 可以读取空白字符(空格和换行)

scanf %c 如果前面有空格,则忽略空白字符

posted @ 2023-02-07 09:32  zzzzzwh  阅读(188)  评论(0)    收藏  举报