C Plus Plus Miscellaneous - Study Mode

[#476] Which of the following header files is required for creating and reading data files?
Correct Answer

(B) fstream.h

[#477] Which function allows you to set minimum width for the next input?
Correct Answer

(B) setw

[#478] How many categories of iterators are there in c++?
Correct Answer

(C) 5

[#479] Which type of relationship is modelled by Composition?
Correct Answer

(C) Part-Of relationship

[#480] Which of the following describes the protected access specifier?
Correct Answer

(C) The variable is visible to its block and to it's derived class