Featured
-
Binary search in C++
If you want to find the presence of a element in a
by kumar.abhishek
Tags
VIRTUAL FUNCTIONS IN C++
Virtual function is a member function in base class, which is redefined in the derived class.
Virtual function is declared by using the keyword virtual.
Syntax of virtual function:
class main_Class // denotes the base class of v...
Difference between pure virtual function and virtual function in C++
td p { margin-bottom: 0cm; }p { margin-bottom: 0.25cm; line-height: 120%; }
Pure virtual function
virtua...
Pure virtual function in C++
In C++, Pure virtual method or pure virtual function is a virtual function in which virtual function does not contain a definition inside the function declaration. A pure virtual function/method is declared by assigning a function equal to 0 in d...