Posts

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!)

What is the namespace?

What is the difference between struct and class?

Describe the role of envelope and letter classes.

What is the difference between "overloading" and "overriding"?

Why do you need a virtual base class?

What is polymorphism?

What is the purpose of separating a class implementation from its interface

What is encapsulation?

What is "inline" function?

What is inheritance?