Home > DeveloperSection > Forums > What is pure virtual function in c ?
Pravesh Singh

Total Post:411

Points:2881
Posted on    June-15-2013 6:20 AM

 C# C# 
Ratings:


 2 Reply(s)
 1168  View(s)
Rate this:
What is pure virtual function in c++?


AVADHESH PATEL

Total Post:604

Points:4228
Posted on    June-15-2013 6:21 AM

A pure virtual function has no definition relative to the base class.Only the function's prototype is included.
Syntax of pure virtual function:
virtual type func_name(parameter-list)=0;

John Smith

Total Post:101

Points:711
Posted on    June-16-2013 4:09 AM

For C++ related concepts , Ask questions here:
C++ Forum

Modified On Jun-16-2013 04:10:08 AM

Don't want to miss updates? Please click the below button!

Follow MindStick