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

Answer Posted / prashant

It depend upon What kind of machine you have (16 or 32 bit)?
If you are using 16 bit machine then int requires 2 bytes of
memory and if you are using 32 bit machine then int requires
4 bytes of memory...

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between ++a and a++?

688


What is the difference between fread buffer() and fwrite buffer()?

669


What does void main return?

599


What is the need of structure in c?

562


What is c system32 taskhostw exe?

582






What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1295


How can I call a function with an argument list built up at run time?

633


What is #error and use of it?

677


Differentiate Source Codes from Object Codes

816


Which header file is used for clrscr?

574


What are enumerated types?

650


Is calloc better than malloc?

570


What is the use of the function in c?

594


What are the different properties of variable number of arguments?

659


Is c a great language, or what?

600