Solved

The New C++14 Stream Manipulator ________ Enables a Program to Read

Question 16

Multiple Choice

The new C++14 stream manipulator ________ enables a program to read quoted text from a stream, including any white space characters in the quoted text, and discards the double quote delimiters. For example, if we read 100 "Janie Jones" 24.98
Using
InClientFile>> account>> quoted(name) >> balance;
The first stream extraction reads 100 into the int variable account, the second reads Janie Jones as one string and stores it in the string variable name without the double-quote delimiters, and the third stream extraction reads 24.98 into the double variable balance.


A) discard
B) quoted
C) hide
D) literal

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions