C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

What is virtual function?

0 votes
46 views
asked by smith Geek (15,340 points)

1 Answer

0 votes
A virtual function is a member function that is declared within a base class and redefined by a derived class .To create a virtual function, the function declaration in the base class is preceded by the keyword virtual.
answered by rajesh Guru (39,140 points)

Related questions

0 votes
1 answer 32 views
32 views asked by smith Geek (15,340 points)
0 votes
1 answer 19 views
19 views asked by sara Guru (24,570 points)
+1 vote
1 answer 63 views
0 votes
1 answer 62 views
62 views asked by anonymous
0 votes
1 answer 4,596 views
4,596 views asked by Smita Advisor (7,140 points)
...