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 is fflush c++?
a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is array in c++ example?
advantages and disadvantages of using Borland C++ / version 5.
Why c++ is the best language?
What is & in c++ function?
What does I ++ mean in c++?
Will a catch statement catch a derived exception if it is looking for the base class?
What are the popular tools used to detect memory leaks in c++
what is the size of this class class size { public: char data1; double d; int data2; char data3; double data4; short data5; }; please explain the padding for these double variables.
what is COPY CONSTRUCTOR and what is it used for?