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...

How size of a class can be calulated?

Answer Posted / spoorthi.hebbar

THE SIZE OF THE ATTRIBUTES OF CLASS IS THE ANSWER..

EG.
CLASS DEMO
{
INT A; //IT IS 4 BYTES LONG
INT B; //IT IS 4 BYTES LONG
}
THE TOTAL SIZE IS 8 BYTES.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between a template class and class template in c++?

1049


What do you understand by zombie objects in c++?

1039


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

1005


What kind of problems can be solved by a namespace?

1011


I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?

2018


How do we implement inheritance in c++?

1072


How do I run a program in notepad ++?

1043


How do you remove an element from a set in c++?

1028


Is rust better than c++?

1057


What is the purpose of the "delete" operator?

1008


Which bit wise operator is suitable for checking whether a particular bit is on or off?

970


How to declaring variables in c++?

1105


Why is main an int?

930


Explain virtual destructor?

1120


Which operator cannot overload?

991