What is the difference between virtual functions and pure virtual functions?
A virtual function is a member function of base class which can be redefined by derived class. A pure virtual function is a member function of base class whose only declaration is provided in base class and should be defined in derived class otherwise derived class also becomes abstract.
| Is This Answer Correct ? | 0 Yes | 0 No |
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 Are The Differences Between A C++ Struct And C++ Class?
What does malloc return in C and C++?
What is an algorithm (in terms of the STL/C++ standard library)?
Consider the following C++ program
It is possible to build a C++ compiler on top of a C compiler. How would you do this?
How can you force the compiler to not generate them?
write a program To generate the Fibonacci Series.
Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.
What is a COPY CONSTRUCTOR and when is it called?
What is pass by value & reference.
What is the difference between Stack and Queue in C++?
0 Answers Global Logic, iNautix,