C Plus Plus Miscellaneous - Study Mode

[#161] How many parameters are available in partial_sum function in c++?
Correct Answer

(D) 3 or 4

[#162] What kind of locale does every program is having in C++?
Correct Answer

(B) global locale

[#163] How many ways are there to use functors?
Correct Answer

(B) 2

[#164] How to handle error in the destructor?
Correct Answer

(B) terminate

[#165] What is the use of rank() function in C++?
Correct Answer

(D) Returns the dimension of an array