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 are the advantages/disadvantages of using inline and const?
Explain encapsulation in C++.
What do you by Function Overloading in C++?
0 Answers Akamai Technologies, Infogain,
What is the difference between an ARRAY and a LIST in C++?
Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.
What kind of problems does name mangling cause?
Discuss about iteration statements in C++ .
What is conversion constructor in C++
It is possible to build a C++ compiler on top of a C compiler. How would you do this?
How to reverse a string in C++
Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }
What Is A Conversion Constructor C++ ?