Interview Questions Answers.ORG
Interviewer And Interviewee Guide
C++ Pointers & FunctionsC++ Operator OverloadingC++ Exception HandlingC++ FriendC++ Inheritance Interviews Quizzes

Accounting

AccountingAccounts PayableAuditJunior AccountantSenior Accountant

Arts

Art DirectorAstrologistInternational RelationshipSociologyVisual Arts

Business and Economy

Accounts Receivable (AR)EconomicsGeneral LedgerPurchasing OfficerTaxation

CMS (Content Management System)

CMSDrupaleZ PublishJoomlaWordPress

Community

Cable OperatorFirefighter SpecialistFuneral DirectorSpeech PathologistTranslator

Engineering

Automobile EngineeringChemical EngineeringCivil EngineeringElectrical EngineeringMechanical Engineering

Management

Administrative OfficerGood Team LeaderHotel ManagementProject CoordinatorStore Keeper

Multimedia

3D AnimationCoreldrawDesign EngineerGraphics DesignerInterior Design

Accounting

Accounting ManagementBank Probationary Officer (PO)Financial Accounting Exam MCQs

Civil Engineering

Building ConstructionRailwaysRCC Structures DesignSoil Mechanics and Foundation EngineeringSurveying

Database

Data Interpretation DatabaseData-mining DatabaseSQL ServerSQL Server DBAWindow Server 2003

Engineering

Electrical EngineeringElectronic DevicesElectronics EngineeringEngineering MechanicsSoftware Engineering

General Knowledge (GK)

General Knowledge (GK)IQ (Intelligence Quotient)Permutation And CombinationPhysical CommunicationVocabulary

Information Technology (IT)

Basics of ComputerComputer KnowledgeComputer OrganizationFundamentals Of ComputerWireless Communication

Networking

Advanced NetworkingBasic NetworkingComputer Networks TestNetwork SecurityNetworking

C++ Interviews

C++ Access Control IQC++ COM ActiveX IQC++ Constructors IQC++ Containers IQC++ Exception Handling IQC++ Friend IQC++ Inheritance IQC++ Inline Function IQC++ New And Delete IQC++ Operator Overloading IQC++ Pointers & Functions IQC++ Programmer IQC++ References IQC++ Static Data IQC++ Syntax IQC++ Template IQC++ Type Checking IQC++ Virtual Functions IQ

Professional C++ Exception Handling Interview Questions & Answers:

Download Interview PDF

1. Generic catch handler is represented by ______________.

a. catch(..,)
b. catch(---)
c. catch(…)
d. catch( void x)

c. catch(…)

2. Throwing an unhandled exception causes standard library function _______________ to be invoked.

a. stop()
b. aborted()
c. terminate()
d. abandon()

c. terminate()

3. Attempting to throw an exception that is not supported by a function call results in calling _____________ library function.

a. indeterminate()
b. unutilized()
c. unexpected()
d. unpredicted()

c. unexpected()

4. Return type of uncaught_exception() is________________.

a. int
b. bool
c. char *
d. double

b. bool

5. How can we restrict a function to throw certain exceptions?

a. Defining multiple try and catch block inside a function
b. Defining generic function within try block
c. Defining function with throw clause
d. It is not possible in CPP to restrict a function

c. Defining function with throw clause

6. We can prevent a function from throwing any exceptions.

a. True
b. False

a. True

7. An exception can be of only built-In type.

a. True
b. False

b. False

8. Irrespective of exception occurrence, catch handler will always get executed.

a. True
b. False

b. False

9. Functions called from within a try block may also throw exception.

a. True
b. False

a. True

10. In nested try blocks, if both inner and outer catch handlers are not able to handle the exception, then______________.

a. Compiler executes only executable statements of main()
b. Compiler issues compile time errors about it
c. Program will be executed without any interrupt
d. Program will be terminated abnormally

d. Program will be terminated abnormally

Download Interview PDF



SHARE



FeedBurner

FORUM
PRIVACY
TERMS & CONDITIONS
FEED BACK

Submit Your Feedback:


×

Thank You For Your Feedback!

Your message has been sent successfully.

Disclaimer
Interview Questions Answers .ORG is responsive and optimized web portal for individuals to get preparation for their job interviews, learning and training. Content at Interview Questions Answers .ORG might be simplified to improve our users experience. We constantly review our content to avoid errors and copyright violations, but we cannot warrant full correctness of all the content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2007-2021 by Interview Questions Answers .ORG All Rights Reserved.

Interview Questions Answers .ORG
Face Book Twitter Linkedin