C Plus Plus Miscellaneous - Study Mode

[#456] What are functors in C++?
Correct Answer

(A) Objects of a class which are treated as functions

[#457] How many streams are automatically created when executing a program?
Correct Answer

(C) 3

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

(A) To check if a variable is array type or not

[#459] In how many different ways any-container can be constructed?
Correct Answer

(C) 3

[#460] Identify the correct statement about throw(type).
Correct Answer

(B) A function can throw an exception of certain type only