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
Why #include is used?
What is the use of endl?
What is the difference between passing by reference and passing a reference?
Explain storage qualifiers in c++.
What is fflush c++?
What is a hashmap c++?
Do you know what are pure virtual functions?
How would you implement a substr() function that extracts a sub string from a given string?
What problems might the following macro bring to the application?
Is c++ pass by reference or value?
What is binary object model?
Write a Program to find the largest of 4 no using macros.
Explain what are mutator methods in c++?
Why main function is special in c++?
Are iterators pointers?