adplus-dvertising
frame-decoration

Question

A class that defines the cout, cerr, and clog objects and stream insertion operator, is called

a.

istream

b.

ostream

c.

fstream

d.

kstream

Answer: (b).ostream

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A class that defines the cout, cerr, and clog objects and stream insertion operator, is called

Similar Questions

Discover Related MCQs

Q. The ios: : floatfield mask has how many format flags?

Q. For combining C++ stream I/O with the older C input/output functions, which class is used for this purpose?

Q. The I/O operations that use the extraction and insertion operators, are called

Q. Goodbit ( ), eofbit ( ), failbit ( ), badbit ( ) all functions are examples of

Q. The stream base class ios is used for

Q. Which flag is used for skipping the leading whitespace during formatting an input?

Q. A function call that is used with insertion and extraction operators but they look like objects when they are called by a program, is called

Q. Ios: :scientific, ios: : fixed are included in which mask?

Q. The append operator is denoted by

Q. There are how many types of stream operators?

Q. Which operators used when one object is assigned to another object that has already been declared for the same class?

Q. All these strncpy ( ), strstr ( ), strok( ), strchr ( ) functions belongs to

Q. Which from the following function not belongs to file?

Q. Which operator is suitable for the concatenation function of a string class?

Q. For finding the number of characters in the string, which function is used?

Q. A string is terminated by a

Q. Strings are accessed by variables of type

Q. C-strings are terminated by

Q. Stream insertion operator is denoted by?

Q. The sequence of contiguous characters in memory, is called as