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...

long int size
a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

Answer Posted / raja kumar

yes, i too agree it is compiler dependent. But, can anyone
explain, why it is compiler dependent?

If it is a 16 bit compiler, then the size of int is 2
bytes. If it is a 32 bit compiler, then the size of int is
4 bytes. Is there is any reason behind this? It will be
helpful if anyone clarifies this?

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anyone suggest some site name..where i can get some good data structure puzzles???

2016


Explain the bubble sort algorithm.

1002


Should a function contain a return statement if it does not return a value?

1012


What is dynamic memory allocation?

1282


What are the types of bitwise operator?

1048


Not all reserved words are written in lowercase. TRUE or FALSE?

1176


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

978


Is there anything like an ifdef for typedefs?

1089


What are the header files used in c language?

992


Is malloc memset faster than calloc?

1015


What is pre-emptive data structure and explain it with example?

3654


What is define directive?

1073


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

1131


What are the advantages of using new operator as compared to the function malloc ()?

1267


write a program to display all prime numbers

1911