Tell me about virtual function
A C++ virtual function is a member function in the base class that you redefine in a derived class. It is declared using the virtual keyword. It is used to tell the compiler to perform dynamic linkage or late binding on the function. ... A 'virtual' is a keyword preceding the normal declaration of a function.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a memory leak in C++?
What are the major differences between C and C++?
Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.
Write a C++ Program to Find Sum and Average of three numbers.
Is there a difference between class and struct?
What are the different scope C++ provide ?
How to reverse a string in C++
What are the advantages/disadvantages of using #define?
Identify the error in the following program. include<iostream> using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }
What is the difference between an ARRAY and a LIST in C++?
Explain the importance of method overloading in C++?
0 Answers Akamai Technologies, Infogain,
C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.