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

It depend upon What kind of machine you have (16 or 32 bit)?
If you are using 16 bit machine then int requires 2 bytes of
memory and if you are using 32 bit machine then int requires
4 bytes of memory...

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What oops means?

1056


When a c file is executed there are many files that are automatically opened what are they files?

1150


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

2356


What is the difference between Printf(..) and sprint(...) ?

1638


What type is sizeof?

1086


can any one tel me wt is the question pattern for NIC exam

2025


Are the variables argc and argv are local to main?

1361


How to get string length of given string in c?

1124


What is assert and when would I use it?

1065


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1207


What is 'bus error'?

1208


What are the data types present in c?

1240


Explain what is wrong with this program statement? Void = 10;

1313


What are the 4 data types?

1059


List some basic data types in c?

1082