View Single Post
Old 06-09-2016, 03:43 AM   #1
Paavni
Registered User
 
Join Date: Jun 2016
Posts: 15
A pure virtual function is implemented by classes which are derived from a Abstract class.
Pure virtual Functions are virtual functions with no definition. They start with virtual keyword and ends with = 0.
Here is the syntax for a pure virtual function,
virtual void f() = 0;
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Paavni is offline   Reply With Quote