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 the size of an integer is decided?
- is it based on processor or compiler or OS?

Answer Posted / hrishikesh

ans is compiler and not os or machine dependent or
processor b'coz u can port difft os on same processor .
when in tc it is 2
while in gcc it is 4 byte for int .
so her neither u r processor changes nor kernel as all are
originated from
UNIX.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When the macros gets expanded?

1338


What is the use of f in c?

933


How a string is stored in c?

1016


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

2256


What is the size of structure in c?

1095


Why string is used in c?

953


Explain what is the advantage of a random access file?

1066


What are runtime error?

1078


What math functions are available for integers? For floating point?

1076


What is the difference between the local variable and global variable in c?

926


Does c have function or method?

942


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1923


Is file a keyword in c?

886


Explain what are preprocessor directives?

1014


Explain how are 16- and 32-bit numbers stored?

1207