C Plus Plus Miscellaneous - Study Mode

[#181] What is the use of tie() function?
Correct Answer

(C) Used to unpack the values of a tuple

[#182] What is bitset in C++?
Correct Answer

(A) An array of bools consuming one bit per element

[#183] Which access specifier is used where one wants data members to be accessed by other classes but not from outside objects?
Correct Answer

(B) protected

[#184] What is sequence container arrays?
Correct Answer

(B) Template class sequence container, alternative for C-like arrays

[#185] Which of the following queue container can expand or shrink from both directions?
Correct Answer

(A) deque