C Plus Plus Miscellaneous - Study Mode

[#466] Which of the following is true about exception handling in C++? i. There is a standard exception class in C++ similar to Exception class in Java. ii. All exceptions are unchecked in C++, i.e., the compiler does not checks if the exceptions are caught or not. iii. In C++, a function can specify the list of exceptions that it can throw using comma separated list like following. void fun(int a, char b) throw (Exception1, Exception2, ..)
Correct Answer

(B) i, ii, iii

[#467] Which operator is used for input stream?
Correct Answer

(B) >>

[#468] How many categories are available in facets?
Correct Answer

(C) 6

[#469] What is the Run-Time Type Information?
Correct Answer

(A) Information about an object's data type at runtime

[#470] Which function is used to check whether a character is tab or a control code?
Correct Answer

(C) iscntrl()