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
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
Is c++ a programming language?
What is a flag in c++?
Is python better than c++?
Explain one-definition rule (odr).
What is a stack? How it can be implemented?
Show the declaration for a pointer to function returning long and taking an integer parameter.
What are the vectors in c++?
Define the operators that can be used with a pointer.
What is jump statement in C++?
Why the usage of pointers in C++ is not recommended ?
What is c++ flowchart?
Write about an iterator class?
Why do we need c++?
Explain the use of virtual destructor?