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 static variables?
How compile and run c++ program in turbo c++?
What is else if syntax?
What are the advantages of using typedef in a program?
Explain Memory Allocation in C/C++ ?
Write bites in Turbo c++ Header ("Include") Files.
What are the steps in the development cycle?
How is computer programming useful in real life?
Can user-defined object be declared as static data member of another class?
What is c++ course?
What character terminates all character array strings a) b) . c) END
In a function declaration what does extern means?
Differences between private, protected and public and give examples.
What is boyce codd normal form in c++?
What is guard code in c++?