Which of the following statements places input into the vari

Which of the following statements places input into the variable \"value\"?

value >> cin;

cin >> value;

value << cin;

cin << value;

1)

value >> cin;

2)

cin >> value;

3)

value << cin;

4)

cin << value;

Solution

Answer:cin >> value;

cin is used to get the standard input from console.

cin >> value; is used to get the input that will store in value variable.

Which of the following statements places input into the variable \

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site