Answer Posted / vinay singh
the size of class is nothing until it will not create an object. Class is a template so class object size is determined.So here empty class object size is 1 byte and object is created on managed heap.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the classes in c++?
What are static variables?
What is friend class in c++ with example?
Are vectors passed by reference c++?
Differentiate between a constructor and a destructor in c++.
Explain rtti.
When is dynamic checking necessary?
What is a manipulative person?
How many different levels of pointers are there?
How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?
When there is a global variable and local variable with the same name, how will you access the global variable?
What is type of 'this' pointer?
how to connect with oracle 9i with server in socket program in c/c++
What are the types of pointer?
What does flush do?