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
Write a function that swaps the values of two integers, using int* as the argument type?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
How static variables and local variablesare similar and dissimilar?
What is istream c++?
How do you initialize a string in c++?
Who made c++?
What is the difference between #import and #include in c++?
Explain how we implement exception handling in c++?
why is iostream::eof inside a loop condition considered wrong?
What is c++ in english?
Can I learn c++ in a week?
What is c++ runtime?
How one would use switch in a program?
Explain queue. How it can be implemented?
What is the size of a vector?