C Plus Plus Miscellaneous - Study Mode

[#101] What is the use of accumulate function in a numeric library?
Correct Answer

(B) Returns the result of accumulating all the values in the range

[#102] How can object be allocated outside the object lifetime?
Correct Answer

(C) void*

[#103] In nested try catch blocks, if both inner and outer catch blocks are unable to handle the exception thrown, then . . . . . . . .
Correct Answer

(D) Program will be termianted abnormally

[#104] How many number of spaces should be set in default tab?
Correct Answer

(D) 4

[#105] Return type of uncaught_exception() is . . . . . . . .
Correct Answer

(B) bool