单选题

执行以下代码,输出的结果是(   )。

cout << "He is " << 18 << " years old."<< endl;

A

程序报错

B

He is

C

years old.

D

He is 18 years old.

赣ICP备20007335号-2