
- Forum
- Programming Talk
- C and C++
- what is virtual function?
what is virtual function?
This is a discussion on what is virtual function? within the C and C++ forums, part of the Programming Talk category; explain someoe...........................................................
-
03-16-2007, 04:41 AM #1
- Join Date
- Mar 2007
- Answers
- 5
what is virtual function?
explain someoe........................................................
-
functions that can by over-ridden in the derived class and binding happens at the run time.
-
03-01-2012, 07:09 AM #3
- Join Date
- Feb 2012
- Answers
- 66
Virtual function is a member function of a class, whose functionality can be over-ridden in its derived classes. The whole function body can be replaced with a new set of implementation in the derived class.
-
03-05-2012, 12:40 AM #4
- Join Date
- Mar 2012
- Answers
- 1
I have little bit knowledge about c. there are loops in c language. i have no idea about virtual function.
-
03-05-2012, 03:19 AM #5
- Join Date
- Mar 2012
- Answers
- 2
virtual function can be used to override the propertis of a function.it is normaly used in inheritance. it is part of polymerphism.
-
virtual function can be simply illustrated by taking an example of college principle!!!!!!!!!!!!!!!!!
he does various functions or completes many tasks according to his scope(here scope can be as lecturer,as an admin and as principle itself).
virtual function is similar kind of the function which performs different tasks at different place.
virtual is special type of keyword.
-
Sponsored Ads

Reply With Quote





