Posts

What is downcasting?

What is a class?

Is it possible to have Virtual Constructor? If yes, how? If not, Why not possible?

What is a friend class/function? Why would you need it?

In C++ I can declare a reference to a pointer. Can I not also declare a pointer to a reference? Why or How?

What is a reference?

In C++, how do I force derived classes to implement a virtual method from the base class?"

What is a pure virtual method (function)? What is the syntax for a pure virtual method? What is an abstract class?

What is a singleton? Write a simple implementation of a singleton.

Write a simple referenced-counted smart pointer class.

When and why should you avoid a multiple inheritance. What are the good examples of MI usage?

What books did you read recently?

What is the virtual destructor. When and why do you need it? (Be surprised if you are not asked this question!)