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 |
Consider the following C++ program
What is an abstract class in C++
0 Answers SwanSoft Technologies,
Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.
When must you use a constructor initializer list?
What are the major differences between C and C++?
Is there a difference between class and struct?
Can we call C++ OOPS? and Why
Explain the difference between method overriding and method overloading in C++?
What are string library functions(syntax).
What does it mean to declare a member function as static in C++?
What is the difference between creating an object, using 'new' and using 'malloc'?
How does stack look in function calls? Write a recursive function call, how will the stack look like?