Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous Difficulty: Medium

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, ..)

Select the correct option to test your answer:

More Computer Questions

What is the correct syntax for defining a variable in Ruby? What data structure is most suitable for handling a fixed-size list where elements are frequently added and removed? The higher priority is . . . . . . . . writes, reads After choosing a predefine template, ....... option has to be chosen to change a background color What is the purpose of XMLHttpRequest?