Ans: Friend function is the friend of the class. This function
can access protected and private area of the class. But friend function is not the
member of the class. Friend function declared using friend keyword or the scope
operator (::).
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