What do you mean by pure virtual functions in C++? Give an example?
A pure virtual function is a virtual function in C++ for which we need not to write any function definition and only we have to declare it. It is declared by assigning 0 in the declaration. An abstract class is a class in C++ which have at least one pure virtual function.
Is This Answer Correct ? | 0 Yes | 0 No |
What are the two types of comments, and how do they differ?
What is helper in c++?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
sir there is some problem with nokia5130c-2,when we are trying to upload movies from net then there is a error occurred"FORMAT NOT SUPPORTED" bt its all ready in 3gp format.please tell me what i do now?
What is c++ w3school?
Why for local variables the memory required to hold the variable is allocated from the program stack and for new its allocated from the heap?
What is OOPs
Specify different types of decision control statements?
What is oops in c++?
What is virtual table?
What is the Maximum Size that an Array can hold?
55 Answers Adobe, FutureSoft, HCL, Infosys, Satyam, TCS, Wipro,
What is the identity function in c++? How is it useful?