Problem3094--下面哪段代码可以实现换行输出?

3094: 下面哪段代码可以实现换行输出?

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

A.cout << "hello" << end;

    cout << "code";

B.cout << "hello" << endl;

    cout << "code";

C.cout << "hello"  endl;

    cout << "code";

D.
cout << "hello" ;

    cout << "code";


Source/Category