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

I think its compiler specific bcoz a char holds 1byte in c
where as it holds 2 bytes in java.

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I direct output to the printer?

1278


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

2109


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

2533


What is the difference between text and binary i/o?

1008


What is the difference between formatted&unformatted i/o functions?

1016


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2764


write a program to create a sparse matrix using dynamic memory allocation.

4851


What is a macro?

1058


What are local variables c?

967


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1034


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

1214


How do you view the path?

1087


Is it possible to have a function as a parameter in another function?

1043


Is there a built-in function in C that can be used for sorting data?

1192


Explain what does a function declared as pascal do differently?

1222