In a class only declaration of the function is there but
defintion is not there then what is that function?
Answer Posted / bharat
If a function does't have definition is a pure virtual
function . The class which have the pure virtual function is
called as Abstract Class or Interface.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How is static data member similar to a global variable?
What is a dll entry point?
What is a flag in c++?
What does return 0 do in c++?
What is the use of function pointer?
What does new in c++ do?
What is the difference between global variables and static varables?
What is ofstream c++?
Can you declare an array without a size in c++?
Describe about storage allocation and scope of global, extern, static, local and register variables?
What do you mean by persistent and non persistent objects?
What is lambda in c++?
How do you sort a sort function in c++ to sort in descending order?
Explain the concept of memory leak?
When is the destructor called?