Important MCQ

The operator << is called the

Q.The operator << is called the

A) extraction operator
B) insertion operator
C) relational operator
D) logical operator
Correct Answer:
Option B
Detailed Explanation:
B) insertion operator is correct. cout is an ostream object used for screen output with the insertion operator <<. Quoted text is printed literally, expressions are evaluated, and endl or \n starts a new line.