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 are the extraction and insertion operators in c++?
What are member functions used in c++?
What is a stack? How it can be implemented?
What will the line of code below print out and why?
What is std namespace in c++?
What is the difference between while and do while loop? Explain with examples.
What are punctuators in c++?
What is the average salary of a c++ programmer?
Write about the retrieval of n number of objects during the process of delete[]p?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
What is stoi in c++?
What are the different types of polymorphism in c++?
What are register variables?
How do you generate a random number in c++?
What is abstraction in c++ with example?