阅读以下程序 #include<iostream.h> void main()
题型:单项选择题
问题:
阅读以下程序 #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 exampl
阅读以下程序 #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 exampl