how the size of an integer is decided?
- is it based on processor or compiler or OS?
Answer Posted / akshay
compiler
if compiler is 16 bit compiler then int is of 2 bytes (turbo c)
if compiler is 32 bit then int is of 4 bytes in VC++
but for 32 bit compiler processor should be compatible i.e. of 32 bytes
so processor also decides it
again of OS
if os is 16 bit how you r going to run a 32 bit compiler on it
so a confusing question
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is union in c?
What are the keywords in c?
Which type of language is c?
How do you determine whether to use a stream function or a low-level function?
What does dm mean sexually?
Describe how arrays can be passed to a user defined function
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
What are nested functions in c?
Explain how to reverse singly link list.
Why should I use standard library functions instead of writing my own?
Can i use “int” data type to store the value 32768? Why?
What does node * mean?
How to write c functions that modify head pointer of a linked list?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
What do you understand by normalization of pointers?