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
What is this pointer in oop?
What is encapsulation in oops?
What do you mean by Encapsulation?
Why is object oriented programming so hard?
Which language is not a true object oriented programming language?
How many human genes are polymorphic?
What is overloading and its types?
What are the data types in oop?
class type to basic type conversion
What is object and example?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
Is data hiding and abstraction same?
Can static class have constructor?
What is abstraction in oops with example?
Where You Can Use Interface in your Project