1.

What Is A Virtual Function?

Answer»

Virtual function is a MEMBER function ofclass and its functionality can be overridden in its DERIVED class. This function can be implemented by using a keyword called virtual, and it can be GIVEN during function declaration.
Virtual function can be ACHIEVED in C++, and it can be achieved in C Languageby using function pointers or pointers to function.

Virtual function is a member function ofclass and its functionality can be overridden in its derived class. This function can be implemented by using a keyword called virtual, and it can be given during function declaration.
Virtual function can be achieved in C++, and it can be achieved in C Languageby using function pointers or pointers to function.



Discussion

No Comment Found