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 much is size of struct having 1 char & 1 integer?

Answer Posted / uttam kumhar

1 char always hold 1 byte in c in any 32-bit or 64-bit system
but in case of int it vary on the system.if there is 32-bit system the int hold 4-byte memory ...and if 64-bit system int hold 2-byte memory....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I make ios apps with c++?

1100


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1949


What are the advantages of prototyping?

1130


Do class declarations end with a semicolon?

1129


Why do you use the namespace feature?

1137


What are the c++ access specifiers?

1482


Explain polymorphism?

1125


What is vector processing?

1208


What is the syntax for a for loop?

1202


How can you quickly find the number of elements stored in a static array?

1139


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

4177


How do you decide which integer type to use?

1052


Do you know the problem with overriding functions?

1173


What is the need of a destructor?

1205


If I is an integer variable, which is faster ++i or i++?

1137