What are virtual functions and what is its use?
A virtual function is a member function that you expect to be redefined in derived classes. When you refer to a derived class object using a pointer or a reference to the base class, you can call a virtual function for that object and execute the derived class's version of the function.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are 2 ways of exporting a function from a dll?
Why is swift so fast?
Why Pointers are not used in C++?
what Is DCS ? what i will get benefit when i did?
Explain public, protected, private in c++?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
Explain how an exception handler is defined and invoked in a Program.
What is the output of the following 3D Array int arr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}; what is the output for arr[2][1][0]?
6 Answers HCL, Integra, IPMC, ORG,
What is a loop? What are different types of loops in c++?
What is a unnitialised pointer?
Write about a nested class and mention its use?
Describe new operator and delete operator?