C Plus Plus Miscellaneous - Study Mode

[#331] Which type of relationship is modelled by Aggregation?
Correct Answer

(B) Has-A relationship

[#332] Which operator is used to produce a certain number in a specific range?
Correct Answer

(D) both % and modulo operator

[#333] What is the use of is_heap_until() function?
Correct Answer

(C) Returns the iterator of the position till that the sequence is a heap

[#334] Which of the following is correct about bitset and vector of bools?
Correct Answer

(D) All of the mentioned

[#335] How many parameters are there in getline function?
Correct Answer

(C) 2 or 3