adplus-dvertising
frame-decoration

Question

To write data that contains variables of type float, to an object of type ofstream, you should use

a.

the insertion operator

b.

seekg()

c.

writeQ

d.

put()

Answer: (c).writeQ

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To write data that contains variables of type float, to an object of type ofstream, you should use

Similar Questions

Discover Related MCQs

Q. The main difference in operation between an 'if statement and a 'while' statement is

Q. The 'continue' statement is used to

Q. The 'break' statement is used to exist from

Q. Which of the following pairs of identifier name(s) are(is) considered to be identical?

Q. The int type of constants are whole numbers in the range

Q. The general form of do-while statement is

Q. The measure of how well the operations in a function relate to one another is _____

Q. An unsigned double type of data

Q. The extraction operator >> is a(n) _____

Q. Modules in C++ programs are

Q. The return type for all destructors is

Q. The comma operator (,) is used to

Q. Which of the following statements creates a named constant called driverAge whose value is 16?

Q. In object-oriented terms, an exception may be considered a(n) _____

Q. A(n) _____ is a numeric variable used for counting something

Q. The logical NOT operator represented by is a

Q. When variables refer to attributes of an entity (such as name, address, and phone number of a person), those attributes form a _____

Q. The delete operator returns ______ to the operating system

Q. The major advantage of data hiding is that _____

Q. The letter V is a _____