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

What is the difference between global int and static int declaration?

982


Write syntax to define friend functions in C++.

1030


How delete [] is different from delete?

969


Define a nested class. Explain how it can be useful.

1054


What are the vectors in c++?

995


Can I run c program in turbo c++?

991


Who invented turbo c++?

1028


Difference between overloading vs. Overriding

1047


Is swift a good first language?

1013


Can java be faster than c++?

1122


Explain the term memory alignment?

1185


Mention the ways in which parameterized can be invoked.

906


How do I download c++?

974


What is the v-ptr?

1115


Can a list of string be stored within a two dimensional array?

969