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 |
Explain about Searching and sorting algorithms with complexities
Explain the FOR loop with a help of a code.
What is the 4 difference between delete[] and delete?
What is static variable and difference between(const char *p,char const *p,const char* const p).
How does stack look in function calls? When does stack overflow? What can you do to remedy it?
What are the fundamental features of an object-oriented language?
What are the major differences between C and C++?
How to invoke a C function using a C++ program?
What Is A Conversion Constructor C++ ?
Can we call C++ OOPS? and Why
How to generate random numbers in C++ with a range?
What is the difference between member functions and static member functions?