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 are the features of oop?
Why do pointers exist?
What are the three parts of a simple empty class?
Why multiple inheritance is not allowed?
Which language is pure oop?
What is polymorphism oop?
Is oop better than procedural?
What are different oops concepts?
What is difference between oop and pop?
What is cohesion in oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< How do you answer polymorphism? what type of questions Why do we use oops? I have One image (means a group photo ) how to split the
faces only from the image?............ please send the
answer nagadurgaraju@gmail.com thanks in advace...