Important MCQ

The operator >> is called the

Q.The operator >> is called the

A) extraction operator
B) insertion operator
C) increment operator
D) logical operator
Correct Answer:
Option A
Detailed Explanation:
A) extraction operator is correct. cin is an istream object used for keyboard input with >>. It can read multiple values separated by whitespace; getline reads a complete line including spaces.