C Plus Plus Miscellaneous - Study Mode

[#336] Which of the following relationships is uni-directional?
Correct Answer

(D) Both Aggregation and Composition

[#337] Which is used to create a pure virtual function?
Correct Answer

(B) =0

[#338] Which of the following function is used to insert an element at the end of a vector?
Correct Answer

(A) push_back()

[#339] What are the tuples in C++?
Correct Answer

(A) Objects that can hold more than one element of different types

[#340] How many ways of reusing are there in the class hierarchy?
Correct Answer

(B) 2