Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is Pure Virtual Function? Why and when it is used ?

Answer Posted / harry

pure virtual function declared in the base class.
pure virtual function having intializer=0;
pure virtual function also know as do nothing function &
dummy function.
class contain atleast one pure virtual function.
object cannote be create of that class in which pure
virtual function are declared and that class are know as
abstract class.

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use this pointer in a class specific, operator-overloading function for new operator?

1149


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

1102


Can we use clrscr in c++?

1130


How do you clear a map in c++?

1185


Explain the register storage classes in c++.

1229


What are virtual constructors/destructors?

1076


What is the full name of logo?

1168


How to declare a function pointer?

1044


Why c++ is so important?

1139


Define a constructor - what it is and how it might be called (2 methods)?

1228


What is the disadvantage of using a macro?

1176


What is the difference between the functions memmove() and memcpy()?

1169


What is a pointer with example?

1335


Is turbo c++ free?

1124


write a porgram in c++ that reads an integer and print the biggest digit in the number

2309