C Plus Plus Miscellaneous - Study Mode

[#241] Which of the following is correct?
Correct Answer

(B) Output Iterators are used for assigning

[#242] When exceptions are used?
Correct Answer

(C) Exceptions are used when postconditions of a function can be satisfied

[#243] What is the purpose of the 'using' directive in C++?
Correct Answer

(D) To introduce a name from a namespace into the current scope

[#244] Which of the following is not a valid C++ data type?
Correct Answer

(C) unsigned float

[#245] What is the purpose of the typeid operator in C++?
Correct Answer

(A) To return the type of an expression