how the size of an integer is decided?
- is it based on processor or compiler or OS?

Answer Posted / mangesh

every book says it depends on machine.......some may have
same size for "int" and "long int".......
by machine they mean processor only.......
coz it cant be either compiler or OS......as they are part
of virtual...i mean software...not machine...

Is This Answer Correct ?    8 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what does a function declared as pascal do differently?

755


Is null always defined as 0(zero)?

701


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2849


What is C language ?

1624


What is header file in c?

706






Explain heap and queue.

677


What is the size of structure in c?

791


Is array name a pointer?

696


What 'lex' does?

819


Create a simple code fragment that will swap the values of two variables num1 and num2.

930


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

656


What are the functions to open and close file in c language?

818


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1963


How can you return multiple values from a function?

726


What is floating point constants?

787