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 manipulators in c++?
What is an inline function in c++?
What operators can you overload in c++?
What are inline functions? What is the syntax for defining an inline function?
What is the difference between struct and class?
What is recursion?
What is virtual destructor ans explain its use?
What is the best c++ compiler for windows 10?
What is switch case in c++ syntax?
Explain data encapsulation?
What is a block in c++?
In c++, what is the difference between method overloading and method overriding?
How do you define a class in c++?
Why do we use the using declaration?
Why we use #include conio h in c++?