[单选题]

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

A.This is a program

B.This

C.This is

D.This is a

参考答案与解析: