C Plus Plus Miscellaneous - Study Mode

[#396] Pick out the correct statement about multiple inheritances.
Correct Answer

(B) Deriving a class from more than one direct base class

[#397] Which operator is used to compare the elements in heap?
Correct Answer

(D) Both comp &<

[#398] Which of the following is correct to interpret Hello World as a single argument? 1. $ ./output 'Hello World'
2. $ ./output Hello World
Correct Answer

(C) Both 1 and 2

[#399] What are binary functors?
Correct Answer

(C) Functors that accepts two parameters

[#400] Why do we need relationships between classes?
Correct Answer

(D) All of the mentioned