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 / rahul

definitely os bcoz.c compiler occupies 2 bytes in windows
where as the same c compiler occupies 4 bytes in linux.

Is This Answer Correct ?    3 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are volatile variables in c?

905


Where static variables are stored in c?

1064


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

1354


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

1099


When should you use a type cast?

1071


When the macros gets expanded?

1363


How can I change the size of the dynamically allocated array?

1115


Is flag a keyword in c?

1120


Explain how do you use a pointer to a function?

1068


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

1229


Is there any demerits of using pointer?

1034


What is wild pointer in c with example?

1031


How do you override a defined macro?

1231


How are Structure passing and returning implemented by the complier?

1136


What is getch c?

1262