What is pure virtual function? Or what is abstract class?
No Answer is Posted For this Question
Be the First to Post Answer
What are the advantages of C++ programming compared to C programming?
Can we use this pointer inside static member function?
What are the different types of Storage classes?
class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
What are the data types in c++?
Explain static and dynamic memory allocation with an example each.
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What is the difference between set and map in c++?
What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?
What are Binay tress and B trees? Diff between them?
What are the extraction and insertion operators in c++?