Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » C++ » Interview Questions on Exceptions in C++

Interview Questions on Exceptions in C++ : (8)


Question: 1

(A) std::bad_exception
(B) std::logic_error
(C) std::exception
(D) std::runtime_error

Compiler
Level: Practitioner Category: exceptions
[Posted by: | ]



Question: 2

(A) True
(B) False

Compiler
Level: Beginner Category: exceptions
[Posted by: | ]



Question: 3

(A) True
(B) False

Compiler
Level: Practitioner Category: exceptions
[Posted by: | ]



Question: 4

(A) True
(B) False

Compiler
Level: Practitioner Category: exceptions
[Posted by: | ]



Question: 5

(A) True
(B) False

Compiler
Level: Expert Category: exceptions
[Posted by: | ]



Question: 6

(A) True
(B) False

Compiler
Level: Practitioner Category: exceptions
[Posted by: | ]



Question: 7

(A) True
(B) False

Compiler
Level: Practitioner Category: exceptions
[Posted by: | ]



Question: 8

(A) Function declaration has error
(B) Behaviour is unknown
(C) Function will throw only standard exceptions defined in <exception>
(D) Function will not throw any exception

Compiler
Level: Practitioner Category: exceptions
[Posted by: | ]