C Plus Plus Miscellaneous - Study Mode

[#126] Pick out the correct statement about permutation.
Correct Answer

(B) If the function can determine the next higher permutation, Returns true

[#127] Which of the following(s) can be used to access the last element of a vector v?
Correct Answer

(D) vectors do not have a function to access the last element

[#128] What is the use of RAII in c++ programming?
Correct Answer

(A) Improve the exception safety

[#129] Which function is used to check whether a character is a tab or space?
Correct Answer

(D) isblank()

[#130] What can be passed by non-type template parameters during compile time?
Correct Answer

(C) constant expression