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 do you mean by C++ access specifiers ?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
What is a driver program?
What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h
Which is best c++ or java?
You want to link a c++ program to c functions. How would you do it?
Can I create my own functions in c++?
How long does this loop run: for(int x=0; x=3; x++) a) Never b) Three times c) Forever
17 Answers Datavance, Quark, VEL, Wipro,
What are the types of pointer?
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
What is the function of the keyword ‘volatile’ in C++?
What is nested class in c++?