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 char be a number c++?

1004


What's the best free c++ profiler for windows?

1040


What is c++ and its uses?

1161


What are the advantages of early binding?

1021


Why ctype h is used in c++?

921


Write a program in C++ for Fibonacci series

1152


What are vtable and vptr?

1086


What are guid?

1195


Describe the role of the c++ in the tradeoff of safety vs. Usability?

1176


what are the decision making statements in C++? Explain if statement with an example?

1046


Why is c++ not purely object oriented?

973


Explain overriding.

956


How many different levels of pointers are there?

1170


What is the use of turbo c++?

1020


Is c++ still in demand?

1114