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 the size of an empty class

Answer Posted / asdf

According to the standard C++03, all classes "shall have
nonzero size."

1 byte is the most common implementation but it is left up
to the vendor.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by variable?

974


why reinterpret cast is considered dangerous?

2334


What is the main purpose of inheritance law?

1146


Why do we need oop?

1100


Whats is abstraction in oops?

1022


Prepare me a program for the animation of train

2412


can inline function declare in private part of class?

4301


What is the important feature of inheritance?

1066


What is abstract class in oop?

947


what type of question are asked in thoughtworks pair programming round ?

2143


What are the advantages of polymorphism?

973


What is methods in oop?

925


Plese get me a perfect C++ program for railway/airway reservation with all details.

3838


What is purpose of inheritance?

1048


Why is encapsulation used?

947