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
Write about the scope resolution operator?
What is anonymous object in c++?
Why namespace is used in c++?
What is a binary file? List the merits and demerits of the binary file usagein C++.
What are vtable and vptr?
What is the need of a destructor?
Why #include is used?
What is polymorphism and its type in c++?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
What is static function? Explain with an example
What are special characters c++?
Should a constructor be public or private?
Is c++ a programming language?
How is c++ used in the real world?
How do you differentiate between overloading the prefix and postfix increments?