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

I think it is decided by Os...
Because variables are assigned memory while the program is
in execution which is done by the OS,and the "MEMORY
MANAGEMENT" is one of the important services provided by the
OS which does the "memory allocation and De allocation".

So, what will be the amount of location needed to store an
int is OS dependent .

Thanks ....,,,,

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I read in an object file and jump to locations in it?

1072


What is the stack in c?

1228


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

1283


Write a code to generate divisors of an integer?

1105


How do you print an address?

1325


What is sorting in c plus plus?

1025


Can you pass an entire structure to functions?

1174


In a switch statement, explain what will happen if a break statement is omitted?

1125


What is use of integral promotions in c?

1207


Why c is called object oriented language?

1114


What are run-time errors?

1176


Are the outer parentheses in return statements really optional?

1160


What does != Mean in c?

1094


Is c is a high level language?

1254


What is integer constants?

1132