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

Tell me what is the purpose of 'register' keyword in c language?

1012


What are the back slash character constants or escape sequence charactersavailable in c?

1184


What is a loop?

1064


What is the difference between far and near ?

1198


Explain two-dimensional array.

1083


Why do we use int main instead of void main in c?

1153


What is New modifiers?

1131


How can I split up a string into whitespace-separated fields?

1058


Can we change the value of #define in c?

1001


Explain how many levels deep can include files be nested?

1079


Is null valid for pointers to functions?

1178


What is c system32 taskhostw exe?

1028


What is bin sh c?

1046


When should a far pointer be used?

1135


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2749