- A virtual destructor in C++ is used in the base class so that the derived class object can also be destroyed.
- A virtual destructor is declared by using the ~ tilde operator and then virtual keyword before the constructor.
What is the virtual destructor in C++?
What is the Access modifier in C++ ?
What do you understand by friend function in C++ language?
What is the Inline function in C++?
Define SRO in C++
Define Scope resolution operator in C++
Define abstraction in C++
What is identifier in C++
Define vector in C++
What do you understand by constructor in C++?
How many types of constructor are in C++?
What is Default constructor in C++?
Define parametrized constructor in C++
What is copy constructor in C++?
What is destructor and how we make it, in C++?
How we define the function outside the class ?
What is the scope of the variable in C++ ?
What is super keyword in C++?
What do you understand by 'this' pointer?
Define lambda expression in C++
What is enum in C++?
What is typedef in C++?
What is storage class specifier in C++?
What is type casting in C++?
print hello world without using semicolon in C++
How make function in classes in C++ ?
What is the use of the scope resolution operator in C++?
Function overloading is example of which type of polymorphism?
Function overriding is example of which type of polymorphism?
What is the features of the OOPs in C++ ?
What is exception handling in C++?
Is C++ support exception handling ?
What is try in C++ ?
What is catch in C++ ?
What is divide by zero error? how handle in C++ ?
How handle Exception in C++ ?
Is C++ supports multi threading concept?
What is thread in C++ ?
How multi threading works in C++ ?
What is mutex in C++ ?
C++ language Interview Question set 1
C++ Language Interview Question Set 2