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

What is the benefit of using an enum rather than a #define constant?

1172


What is pragma in c?

1130


Give differences between - new and malloc() , delete and free() ?

1045


How can you increase the size of a statically allocated array?

1031


Explain what header files do I need in order to define the standard library functions I use?

1115


What is the default value of local and global variables in c?

983


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1030


What are two dimensional arrays alternatively called as?

1133


What is a good data structure to use for storing lines of text?

1033


What are the types of data files?

1149


What is the purpose of ftell?

1034


How do I use strcmp?

1024


What are operators in c?

962


Write a code to generate a series where the next element is the sum of last k terms.

1169


How do you define CONSTANT in C?

1212