[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C++ Programming :: Input/Output - Discussion

Home > C++ Programming > Input/Output > MCQs Questions Discussion

3 / 9

Choose the correct option.

Observe the following statements and decide what do they do.string mystring;getline(cin, mystring);

Areads a line of string from cin into mystring

Breads a line of string from mystring into cin

Ccin can't be used this way

Dnone of above

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!