C++ Programming Questions Answers - Chapter 1
-
36. What is inheritance
- Inheritance allows one class to reuse the state and behavior of another class.
- It deals with dangling pointers
- It deals with void pointers
- It is type of class declaration
Answer And Explanation
Answer: Option A
-
38. Which is not C++ storage class
- auto
- register
- static
- iostream
Answer And Explanation
Answer: Option D
Explanation:
Storage classes are:
auto
register
static
extern -
39. Stack unwinding deals with
- deals with polymorphism
- deals with inheritance
- deals with exception handing
- deals with classes
Answer And Explanation
Answer: Option C
-
40. Meaning of PDB
- Physical Database File
- Program Database File
- Program Direct File
- None of above
Answer And Explanation
Answer: Option B
-
41. Meaning of STL
- Standard Tree Library
- Standard Term Library
- Standard Template Library
- None of above
Answer And Explanation
Answer: Option C
-
42. What is abstract class
- Whose objects cant be created
- Whose objects can be created
- Depends on class
- None of above
Answer And Explanation
Answer: Option A