Answer Posted / hrpynux@gmail.com
You declare a pure virtual function by using a pure specifier ( = 0 ) in the declaration of a virtual member function in the class declaration. Class A is an abstract class. The compiler would not allow the function declarations A g() or void h(A) , declaration of object a , nor the static cast of b to type A .
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is meant by a delegate?
What is polymorphism and its type in c++?
What is static in c++?
Explain virtual class and friend class.
Why are arrays usually processed with for loop?
What are guid?
Is dev c++ free?
what are the decision making statements in C++? Explain if statement with an example?
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
daily Routine of father
C is to C++ as 1 is to a) What the heck b) 2 c) 10
Which software is best for programming?
What are the advantages of early binding?
Does dev c++ support c++ 11?
What is the use of map in c++?