Which statement reads and consumes up to four characters until the tab character is encountered?
A. cin.consume(4, '/t');
B. cin.discard(4, '\t');
C. cin.ignore(4, '\t');
D. cin.discard('\t', 4);
Answer: C
You might also like to view...
You can run an application in all of the following ways except which one?
a. Click the Start Debugging button on the toolbar b. Press the Ctrl-F4 keys c. Press the F5 key d. Click Debug on the menu bar, and then click Start Debugging
A(n) ________ uses the same width for every character
Fill in the blank(s) with correct word
Briefly describe the preset value (PRE) for a timer.
What will be an ideal response?
NIST recommends the documentation of performance measurements in a standardized format to ensure ____________.
A. the suitability of performance measure selection B. the effectiveness of performance measure corporate reporting C. the repeatability of measurement development, customization, collection, and reporting activities D. the acceptability of the performance measurement program by upper management