Explain virtual functions in C++.
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• A virtual function is a member function that can be overridden in derived classes. Declared with the virtual keyword in the base class, enabling runtime polymorphism.
| Is This Answer Correct ? | 0 Yes | 0 No |
• A virtual function is a member function that can be overridden in derived classes. Declared with the virtual keyword in the base class, enabling runtime polymorphism.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• A virtual function is a member function that can be overridden in derived classes. Declared with the virtual keyword in the base class, enabling runtime polymorphism.
| Is This Answer Correct ? | 0 Yes | 0 No |
Evaluate !(1&&1||1&&0) a) Error b) False c) True
What is the difference between public, private, protected inheritance?
What is the difference between #import and #include in c++?
Is map ordered c++?
What are 2 ways of exporting a function from a dll?
program to print this triangle * * * * * *
What is the difference between the indirection operator and the address of oper-ator?
What it is and how it might be called (2 methods).
What is a hash function c++?
how to explain our contribution in the project?
3- Write a program to find larger and smaller of the two numbers.
What is the difference between "calloc" and "malloc"?