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

What is the difference between new() and malloc()?

709


What is the best c++ compiler?

680


What are the uses of pointers?

665


Differentiate between structure and class in c++.

706


What does int * mean in c++?

771






What is the difference between a definition and a declaration?

662


How can we access protected and private members of a class?

679


What do you mean by inheritance in c++?

704


What do you mean by friend class & friend function in c++?

707


What are the benefits of oop in c++?

694


What kind of jobs can I get with c++?

704


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

705


Is it possible to write a c++ template to check for a function's existence?

664


Which bitwise operator is used to check whether a particular bit is on or off?

682


Explain the concept of dynamic allocation of memory?

696