Pure Virtual Function
Pure Virtual Function
A virtual function which has no definition (i.e. body) is known as pure virtual function. They start with virtual
keyword and end with equal to zero. We cannot change the signature of pure virtual function.
Syntax,
Example:
Class base
Public:
Public:
Void show ()
…….}
};