问题 单项选择题

若已知char str[20];,且有语句cin>>str;,此时输入为“This is a program”,则所得的结果是str=( )。

A.This is a program
B.This
C.This is
D.This is a

答案

参考答案:B

选择题
多项选择题