Which of the following will correctly read from the istream

Which of the following will correctly read from the istream inFS to the string item?

Select one:

a. item >> inFS;

b. item << inFS;

c. inFS << item;

d. inFS >> item;

Solution

Option d is correct choice.

Which of the following will correctly read from the istream inFS to the string item? Select one: a. item >> inFS; b. item << inFS; c. inFS <<

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site