In C++, operator >> is used along with object cin for reading input is known…

2021

In C++, operator >> is used along with object cin for reading input is known as _____.

Answer: A. extractionIn C++, the >> operator used with the cin object is called the extraction operator because it extracts input from the keyboard/input stream and stores it into…

  1. A.

    extraction

  2. B.

    output

  3. C.

    get in

  4. D.

    put to

Attempted by 53 students.

Show answer & explanation

Correct answer: A

In C++, the >> operator used with the cin object is called the extraction operator because it extracts input from the keyboard/input stream and stores it into variables.

Example:

cin >> x;

Here, >> takes input and places it into variable x.

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…