February 27, 2010
C++
1. Why don’t we have virtual constructors? The virtual mechanism, though used without the knowledge of the complete type of the object, works only on fully-constructed objects. But, in order to create an object, the user is required to provide the complete information about the object. Thus, it is not possible for a constructor to [...]
Read the full article →
January 11, 2010
C++
This post is a part of an ongoing series of C++ Interview Questions. This is Second part of the two parts of C++ interview questions with medium difficulty. These questions were handpicked by the author, who happens to be an active member in one of the largest C++ communities in Orkut which boasts to have [...]
Read the full article →