The correct answer is C. cout << “Hello”;
A. cin << “Hello”; This statement will read the word “Hello” from the keyboard and store it in the variable cin.
B. cin >> “Hello”; This statement will read a word from the keyboard and store it in the variable Hello.
C. cout << “Hello”; This statement will print the word “Hello” to the screen.
D. cout >> “Hello”; This statement will read a word from the keyboard and store it in the variable cout.
E. None of the above.
Here is a simple example of how to use cout to print a message to the screen:
“`
include
int main() {
std::cout << “Hello, world!”;
return 0;
}
“`
This program will print the following message to the screen:
Hello, world!