C++ Programming Questions

Q.  Throwing an unhandled exception causes standard library function then _________ to be invoked.

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


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  In nested try block, if inner catch handler gets executed, then _____________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  A function can be declared as friend maximum only in two classes.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following statements are not true about destructor? 1. It is invoked when object goes out of the scope 2. Like constructor, it can also have parameters 3. It can be virtual 4. It can be declared in private section 5. It bears same name as that of the class and precedes Lambda sign.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  When a child class inherits traits from more than one parent class, this type of inheritance is called _______________ inheritance.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  In case of inheritance where both base and derived class are having constructor and destructor, then which if the following are true ? 1. Constructors are executed in their order of derivation 2. Constructors are executed in reverse order of derivation 3. Destructors are executed in their order of derivation 4. Destructors are executed in reverse order of derivation
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  __________________ is the OOP feature and mechanism that binds together code and the data it manipulates, and keep both safe from outside world.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the followings is/are not keyword/s in CPP? 1. asm 2. boolean 3. mutable 4. export 5. constant_cast
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  We can create objects of the abstract class.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the followings are true about Virtual functions?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If a class contains static variable, then every object of the class has its copy of static variable.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following are member dereferencing operators in CPP? 1. * 2. :: 3. ->* 4. ::* 5. ->
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  In Multipath inheritance, in order to remove duplicate set of records in child class, we ___________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If base class has constructor with arguments, then it is ________________ for the derived class to have constructor and pass the arguments to base class constructor.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Using friend operator function, following perfect set of operators may not be overloaded.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  An operator function is created using _____________ keyword.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Classes in CPP are________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Can we define our exceptions in CPP?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  The code of statements which may cause abnormal termination of the program should be written under_________ block.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Object based language differs from object oriented language as it does not support features _____ . 1. Encapsulation 2. Inheritance 3. Dynamic Binding 4. Abstraction 5. Polymorphism
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  When a virtual function is redefined by the derived class, it is called___________.
Category: Computer Science MCQs,   Published by: T-Code Scripts