what is the size of a class which contains no member
variables but has two objects??? is it 1 or 2??
Answer Posted / rao
2 (if two objects are empty class) otherwise Note : The
size of class = the size of Data members of the objects +
Size of data members of the Class.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Define copy constructor.
What is a forward referencing and when should it be used?
What are c++ tokens?
How long will it take to learn programming?
What is object in c++ example?
Explain function overloading and operator overloading.
When you overload member functions, in what ways must they differ?
How would you use the functions sin(), pow(), sqrt()?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What are manipulators in c++ with example?
What is buffering in c++?
By using c++ with an example describe linked list?
What is abstract keyword in c++?
How do you define a class in c++?
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?