To avoid ambiguity, the indirect base class is made ,virtual base class, to define base class as virtual. When we define virtual base class, compiler take care that only one copy of that class inherited, regardless of how many inherited path exist between the virtual base class and derived class.
Answer: Manipulators are special functions that can be included in the I/O statement to alter the format parameters of a stream. Table-2 shows some important manipulator functions that are frequently used. To access these manipulators, the file < iomanip.h > should be included in program. Table-2 Manipulators Equivalent ios function set...
Comments
Post a Comment