Given the following definition:
class C{};
How much space gets allocated? What are the methods created at this stage? Now I thought space is not allocated until instantiation but I guess this is only partly true. Edit: I checked in my compiler sizeof(C) but it is 1 byte though i am not creating any object of the class.
Try this link http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=319