Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is size of a empty class?

Answer Posted / dips

it doesnot take memory just writing class in C++
means i want to say
class d{};
no memory allocation is done here
but is this a empty class?

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a forward referencing and when should it be used?

1216


Can union be self referenced?

1224


Describe the syntax of single inheritance in C++?

1125


Difference between Abstraction and encapsulation in C++?

1215


What is difference between array and vector in c++?

1076


Can you please explain the difference between overloading and overriding?

1153


What is a unnitialised pointer?

1141


How do you define/declare constants in c++?

1111


What is a null object in c++?

1315


What are the uses of pointers?

1136


What is the difference between structures and unions?

1120


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

1136


What is the use of lambda in c++?

1083


Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300

2273


Explain the benefits of proper inheritance.

1195