C Plus Plus Miscellaneous - Study Mode

[#531] To use internal linkage we have to use which keyword?
Correct Answer

(A) static

[#532] Which function is used to optimize the space in vector?
Correct Answer

(B) bool

[#533] Why is it expensive to use objects for the exception?
Correct Answer

(A) Exception object is created only if an error actually happens

[#534] What is the use of count() function in bitset?
Correct Answer

(B) To count the number of 1's

[#535] Which header file is required to use any container?
Correct Answer

(A) <any>