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

Is fortran still used today?

1055


Which header file is used for clrscr?

1018


Is c pass by value or reference?

1008


Are global variables static in c?

1122


Are comments included during the compilation stage and placed in the EXE file as well?

1041


Write a program on swapping (100, 50)

1076


Define recursion in c.

1216


What is pointer to pointer in c with example?

1004


Write programs for String Reversal & Palindrome check

1021


Why c is faster than c++?

990


What are the different types of control structures?

998


What are categories used for in c?

1047


What is the difference between the local variable and global variable in c?

939


Are local variables initialized to zero by default in c?

998


What should malloc() do?

1112