首页 › 答案 › 题库 › 超星尔雅学习通未分类

若要从键盘读入含有空格字符的字符串,应使用函数()。

若要从键盘读入含有空格字符的字符串,应使用函数()。
A.getc()
B.gets()
C.getchar()
D.scanf()
正确答案:B