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

What is virtual base class uses?

1368


Explain explicit container.

1094


How do you invoke a base member function from a derived class in which you’ve overridden that function?

1122


What is a responder chain?

1055


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

1547


How one would use switch in a program?

1087


What is pointer with example?

1067


How to declare a function pointer?

1007


What are the different types of comments allowed in c++?

995


which of the following is not an secondary constant a) array b) real c) union

1810


When does a name clash occur in c++?

1178


Incase of a function declaration, what is extern means?

976


What is the disadvantage of using a macro?

1130


What is the use of register keyword with the variables?

945


What is the difference between delegation and implemented-in-terms-of?

1014