what is the size of a class which contains no member
variables but has two objects??? is it 1 or 2??
Answer Posted / asghar ali chandio
every object will occypy one byte of memory. If objects are
two then Size will be two bytes.
| Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
what are function pointers?
What is a down cast?
You run a shell on unix system. How would you tell which shell are you running?
What is main function in c++ with example?
What is size of string in c++?
Why is c++ considered difficult?
What is the latest c++ standard?
What are pointer-to-members? Explain.
What is a binary file? List the merits and demerits of the binary file usagein C++.
How do c++ struct differs from the c++ class?
Program to check whether a word is a sub-string or not of a string typed
What is the difference between while and do while loop?
How do we implement inheritance in c++?
What is flush c++?
What is a manipulative person?