adplus-dvertising
frame-decoration

Question

The >> (extraction) operator stops reading characters from the keyboard as soon as the user _____

a.

presses the Enter key

b.

types a character that is inappropriate for the variable's data type

c.

both (a) and (b)

d.

neither a nor b

Answer: (c).both (a) and (b)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The >> (extraction) operator stops reading characters from the keyboard as soon as the user _____

Similar Questions

Discover Related MCQs

Q. The null character is represented by

Q. The break statement is

Q. A variable w with a value 67 may be defined with _______

Q. An expression contains relational, assignment and arithmetic operators. In the absence of parentheses, the order of evaluation will be

Q. The keyword virtual indicates that

Q. Variables that are declared in a block are known as _____ variables to that block

Q. The pow and sqrt functions return a(n) _____ type number

Q. Declaring variables is advantageous because it

Q. The switch variable can be of

Q. Which of the following are void functions?

Q. Hiding individual components of an entry is _____

Q. When all of the operations in a function contribute to the performance of only one task, a function has

Q. Two access specifers in C++ are

Q. A data member holds a 1 or 0 depending on whether taxes have been paid. The best identifier for this member is _____

Q. Which of the following is an access specifier?

Q. Machine code is _____

Q. Which of the following is a valid condition for an if statement? (The condition should be both syntactically and logically valid.)

Q. With communicational cohesion

Q. Which of the following formulas can be used to generate random integers between 1 and 10?

Q. Format flags may be combined using the _____