0% found this document useful (0 votes)
8 views1 page

CPP Module

The document outlines various concepts of Object-Oriented Programming (OOP), including constructors, destructors, inheritance, polymorphism, and memory management. It provides explanations and examples for each topic, such as deep and shallow copy, access specifiers, and the Standard Template Library (STL). Additionally, it addresses specific scenarios like using vector containers without the <vector> header and calling constructors in a diamond inheritance situation.

Uploaded by

Meghana Sangapur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

CPP Module

The document outlines various concepts of Object-Oriented Programming (OOP), including constructors, destructors, inheritance, polymorphism, and memory management. It provides explanations and examples for each topic, such as deep and shallow copy, access specifiers, and the Standard Template Library (STL). Additionally, it addresses specific scenarios like using vector containers without the <vector> header and calling constructors in a diamond inheritance situation.

Uploaded by

Meghana Sangapur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1. Explain the OOPS concept.

2. Explain the Constructor and destructor with examples.


3. Explain the Constructor and its types with examples along with their usages.
4. Explain deep and shallow copy with examples.
5. Explain types of inheritance with examples.
6. Explain Polymorphism and its types with examples.
7. Explain Dynamic memory allocation with examples.
8. Explain the Virtual function with an example.
9. Explain all access specifiers with examples.
10. Explain new and delete keywords with examples.
11. Explain Class constructor with an example
12. Explain Function overriding with an example
13. What is the difference between Virtual and pure virtual functions? Explain with an
example
14. Explain STL in detail.
15. How to use vector container without <vector> header file
16. In a diamond if grandparent class contains both default, parameterized constructor
but grandchild contains only default constructor, how do u call parameterized
constructor of grandparent using grandchild object?
17. Why can't we create object for abstract class? (Hiding)
18. What is a friend function? Explain with an example

You might also like