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
Mention the ways in which parameterized can be invoked.
What methods can be overridden in java?
What is #include cmath?
What is c++ in english?
Write a program to find the Factorial of a number
Can we make any program in c++ without using any header file and what is the shortest program in c++.
Are iterators pointers?
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
When should we use multiple inheritance?
What are the basic data types used in c++?
Define a pointer to a data member of the type pointer to pointer?
What is endianness?
What is == in programming?
Is c++ faster than c?
What is scope resolution operator in c++ with example?