How to create a pure virtual function?
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 |
Write a function which takes a character array as input and reverses it in place.
2 Answers Lehman Brothers, Vision Infotech,
Why is c++ considered difficult?
What is a constant? Explain with an example.
Tell me an example where stacks are useful?
If I is an integer variable, which is faster ++i or i++?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
What is the object serialization?
In a function declaration what does extern means?
What is the limitation of cin while taking input for character array?
What is #include iostream?
What is implicit pointer in c++?
What is abstract keyword in c++?