Question: Identify the correct statement about throw(type).

Options

A : A function can throw any type of exceptions

B : A function can throw an exception of certain type only

C : A function can't throw any type of exception

D : A function can catch all types of exceptions

Click to view Correct Answer

Previous || Next

Derivation and Templates more questions

Members of which access specifiers are not inherited?

What is the importance of mutable keyword?

Which value is placed in the base class?

How many kinds of entities are directly parameterized in c++?

How many kinds of parameters are there in C++?

What will happen when a programs throws any other type....

What do you mean by ?No exception specification??

What kind of error can arise when there is a....

When do we call that resource is leaked?

Which operations don't throw anything?

Access Control more Online Exam Quiz

Arithmetic Operators - 1

Formatted Output - 1

Formatted Output - 2

Line Input & Output - 1

Access Control

Exception Specifications

Floating Point Types

Resource Management

seq_con Array Class - 2

Riser Design - 2