单项选择题

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

A) getc()
B) gets()
C) getchar()
D) scanf()