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
What is #include iostream h in c++?
What is decltype c++?
Write some differences between an external iterator and an internal iterator?
Write a function that swaps the values of two integers, using int* as the argument type?
Show the declaration for a pointer to function returning long and taking an integer parameter.
Explain what you mean by a pointer.
Should a constructor be public or private?
What are c++ stream classes?
Explain the problem with overriding functions
Which compiler does turbo c++ use?
What kind of jobs can I get with c++?
Which operator cannot overload?
What is virtual destructor? What is its use?
What is the difference between mutex and binary semaphore?
If you don’t declare a return value, what type of return value is assumed?