Multiple choice

Which of the following operators in C++ is called as an insertion operator that inserts data into an appropriate stream?

  1. >>

  2. <<

  3. :?

  4. &

  5. *

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This operator in C++ is known as an insertion operator. It is used to insert data into an appropriate stream.