Question: Question 27 The stream function get is used to read __________ data. Question options: None of these integer character real string Question 29 ' '
| Question 27 |
|
The stream function get is used to read __________ data.
Question options:
|
| None of these | ||
|
| integer | ||
|
| character | ||
|
| real | ||
|
| string | ||
| Question 29 |
| ||
' ' is ____________.
Question options:
|
| none of these. | ||
|
| the newline character. | ||
|
| the tab character. | ||
|
| the return character. | ||
|
| the newspace character. | ||
| Question 31 |
| ||
The statement cin.ignore(100, 'A'); results in ignoring ___________________.
Question options:
|
| the character 'A' for the first 100 times. | ||
|
| the first 100 characters. | ||
|
| the integer 100 until after the first input of the character 'A'. | ||
|
| None of these. | ||
|
| the 100 characters that follow the character 'A'. | ||
| Question 32 |
| ||
The stream function ____________ lets you insert the last character extracted from the input stream by the get function back into the input stream.
Question options:
|
| goback | ||
|
| getback | ||
|
| backpack | ||
|
| putback | ||
|
| backup[ | ||
| Question 33 |
| ||
The _______________________ function looks into the input stream and checks the identity of the next input character.
Question options:
|
| seekit | ||
|
| spyit | ||
|
| None of these. | ||
|
| glimpseit | ||
|
| peepit | ||
| Question 34 |
| ||
In the statement cin.get(ch); the dot is an operator called the _____________.
Question options:
|
| the cin access operator. | ||
|
| member access operator. | ||
|
| the get access operator. | ||
|
| None of these. | ||
|
| dot access operator. | ||
| Question 36 |
| ||
cout << setprecision(4); This statement formats the putput of decimal numbers to ___________.
Question options:
|
| None of these | ||
|
| exactly four decimal places. | ||
|
| exactly four digits. | ||
|
| exact four trailing zeros. | ||
|
| exactly four numbers. | ||
| Question 37 |
| ||
A ___________ is used to format output.
Question options:
|
| populator | ||
|
| instigator | ||
|
| manipulator | ||
|
| None of these | ||
|
| stipulator | ||
| Question 38 |
| ||
A simple manipulator that has been used in programs is __________.
Question options:
|
| endl | ||
|
| None of these | ||
|
| cout | ||
|
| return | ||
|
| cin | ||
| Question 41 |
| ||
To output floating-point numbers in a fixed decimal format use the manipulator_____________.
Question options:
|
| None of these |
|
| floatfix. |
|
| floatfx |
|
| fixed. |
|
| fixfloat. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
