Answer Posted / som shekhar
1 byte.
Reason being when compiler sees an empty class then then it
assigns a 1 byte memory, since the compiler sees the
declaration of the class so he needs to assign some space in
the memory, and hence assign 1 byte memory to hold the
address of the class.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Which method cannot be overridden?
Is react oop?
What is encapsulation process?
What is difference between abstraction and encapsulation?
can we make game by using c
Why do we use oop?
How Do you Code Composition and Aggregation in C++ ?
What does and I oop mean?
What is protected in oop?
Are polymorphisms mutations?
How oops is better than procedural?
What are constructors in oop?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is encapsulation in oops?
How to call a non virtual function in the derived class by using base class pointer