单项选择题

阅读以下程序
#include<iostream.h>
void main()
charline[10];
in>>line;
cout<<line<<endl;
如运行时输入This is an example.<CR>,则程序的输出结果是( )。

A.This
B.This is
C.This is a
D.This is an example.