Un-Answered Questions { C++ }

What is the difference between virtual functions and pure virtual functions?

595


Can we call a virtual function from a constructor?

489


Can we use THIS Pointer in static function – Reason in C++?

328


Factory Method C++ – How to delete pointers returned by it

340


What are issues if we mix new and free in C++?

292


How does free know the size of memory to be deleted

297


What's the value of the expression 5["abxdef"]?

1021


How to delete array of objects in C++? Proof by C++ code for proper deletion

313


How to stop class inheritance in C++ with condition that object creation should be allowed

282


What is Advantage and Use of THIS pointer in C++ – Scenarios?

297


C++ Public access specifier instead of Private – What is bad ?

400


Is there a difference between class and struct?

470


How many times will this loop execute? Explain your answer.

369


How can a C function be called in a C++ program?

310


C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

378