What is size of Empty Class?

Answer Posted / rahul

1 Byte. Class is static entity.

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you write a function that can reverse a linked-list?

832


Is c++ primer good for beginners?

823


If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

938


What is public, protected, private in c++?

910


which operator is used for performing an exponential operation a) > b) ^ c) none

837


What is meant by forward referencing and when should it be used?

805


What is const pointer and const reference?

871


What is the best book for c++ beginners?

814


What is atoi in c++?

852


Is facebook written in c++?

786


What is decltype c++?

771


What is the role of static keyword for a class member variable?

882


Is c++ low level?

825


Is dev c++ free?

811


What do you mean by public protected and private in c++?

820