200k views
5 votes
The ________ operator always follows the cin object, and the ________ operator follows the cout object.

A) binary, unary
B) conditional, binary
C) >>, <<
D) <<, >>
E) None of the above

User Ben Childs
by
8.0k points

1 Answer

3 votes

Final answer:

The correct answer is C) >>, <<, where the >> operator follows the cin object for input, and the << operator follows the cout object for output in C++.

Step-by-step explanation:

The operator that always follows the cin object is the >> operator, and the operator that follows the cout object is the << operator. Therefore, the correct answer is C) >>, <<. These operators are used for input and output operations in C++ programming. The cin>> is used to extract data from the user, and the cout<< is used to insert data to be displayed to the user.

User Dyrandz Famador
by
8.0k points