Which of the following is syntactically legal in C++?

a. cout >> "Hi there." >> endl;
b. cout << "Hi there. ";
c. cout << "Hi there " << name << ", see you. "<< endl";
d. cout << "Hi there. " << name <<;
e. cout << "Hi there << name << ", see you." endl;

b. cout << "Hi there. ";

Computer Science & Information Technology

You might also like to view...

TCP established a connection by using a four-step handshake process

Indicate whether the statement is true or false.

Computer Science & Information Technology

Which of the following provides the BEST environment for prototyping?

A. a public cloud B. a virtualized environment C. a private cloud D. a hybrid cloud

Computer Science & Information Technology