what is virtual function?

Answer Posted / gomathisivaram

The virtual function is nothing but the function in the
base class with the virtual keyword, that allows us to
derive only once in the class which is going to accsess it
while it is the child of two different classes which are
the child of the same base class.This is nothing but the
dynamic binding.

Is This Answer Correct ?    18 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we define a class within the interface?

553


What type of loop is a for loop?

682


Is abstract thinking intelligence?

592


What is overloading and its types?

615


Plese get me a perfect C++ program for railway/airway reservation with all details.

3427






What is solid in oops?

607


how to get the oracle certification? send me the answer

1670


What are benefits of oop?

639


Can static class have constructor?

585


officer say me - i am offered to a smoking , then what can you say

1578


what are the ways in which a constructors can be called?

1581


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2034


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2166


What is and I oop mean?

618


What is class and example?

569