C Plus Plus Miscellaneous - Study Mode

[#171] Which of the following keyword is used to declare the header file?
Correct Answer

(A) include

[#172] Which header file is required for using bitset in your program?
Correct Answer

(B) <bitset>

[#173] Which of the following is/are advantage(s) of Sequence Container arrays over C-like arrays?
Correct Answer

(D) All of the mentioned

[#174] Pick out the correct statement.
Correct Answer

(A) you only need to write one function, and it will work with many different types
(F) A derived class's destructor cannot invoke its base class's destructor

[#175] Which of the following is the correct syntax of accessing the second element of a pair p?
Correct Answer

(B) p.second