8/31/2023 0 Comments C&c alpha group![]() The prototype of virtual functions should be the same in the base as well as derived class.Virtual functions should be accessed using pointer or reference of base class type to achieve run time polymorphism.A virtual function can be a friend function of another class.To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. Want to learn from the best curated videos and practice problems, check out the C++ Foundation Coursefor Basic to Advanced C++ and C++ STL Course for foundation plus STL. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |