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 static variable and difference between(const char *p,char const *p,const char* const p).
What is the 4 difference between delete[] and delete?
What are string library functions(syntax).
What Is Polymorphism in C++ ?
1 Answers IBS, Impetus, ITC Indian Tobacco Company, Motorola,
Write a syntax and purpose of switch statement.
What is Copy Constructor?
Write a program that ask for user input from 5 to 9 then calculate the average
Name the operators that cannot be overloaded.
What is the difference between public, private, and protected inheritance?
Factory Method C++ – How to delete pointers returned by it
What does it mean to declare a function or variable as static?
Find the Factorial of a number using a program.