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 we add pointers together?

1116


Are there any problems with performing mathematical operations on different variable types?

1105


Who developed c language and when?

1135


What are the 4 types of unions?

1090


using for loop sum 2 number of any 4 digit number in c language

2418


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2624


List some basic data types in c?

1082


Can we compile a program without main() function?

1181


What is meant by inheritance?

1153


what are the advantages of a macro over a function?

1192


How can you determine the size of an allocated portion of memory?

1361


Why do we use null pointer?

1117


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

4336


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2748


Write a program to print fibonacci series using recursion?

1132