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 |
Which is not a valid keyword a) public b) protected c) guarded
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?
Difference between inline functions and macros?
What is the difference between mutex and binary semaphore?
Explain storage qualifiers in c++.
Explain rtti.
What is the difference between equal to (==) and assignment operator (=)?
write the prime no program in c++?
What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
What is switch case in c++ syntax?
Difference between Abstraction and encapsulation in C++?