c++
c++
UNIT 2
• Explain the concept of constructor overloading and
function overloading.
• What do you understand by access specifiers? What are
these access specifiers?
• All types of constructors with examples
• Call by value vs call by reference
• Class declaration program
• Garbage collection
• Destructors vs delete
• Pointer program(this pointer)
Analysed by Lakshay Babbar
UNIT 3
• How can a data member and member function present in
public mode in class be accessed through pointer object?
Explain it by taking an example.
• Create class COMPLEX and overload binary + operator to
add objects. Using friend functions.
• Define an inheritance and its advantage? Explain the types
of inheritance.
• Operator overloading and overriding programs
• Resolution of ambiguity of multiple inheritance
• All types of inheritance and access specifiers
• Aggregation, composition vs classification hierarchical
• Virtual functions
• Pointer to constant and constant pointer
• Namespaces
UNIT 4
• What do you mean by generic programming? Write a
program to swap the any two different types of variables
using function template.
• Create a class Stack that throws Overflow and Underflow
exceptions.
• What is the file access mode? Describe the various file
modes.
• Exception Handling
• Overloading of functions and template functions
Analysed by Lakshay Babbar