how the size of an integer is decided?
- is it based on processor or compiler or OS?
Answer Posted / hrishikesh
I think it is decided by Os...
Because variables are assigned memory while the program is
in execution which is done by the OS,and the "MEMORY
MANAGEMENT" is one of the important services provided by the
OS which does the "memory allocation and De allocation".
So, what will be the amount of location needed to store an
int is OS dependent .
Thanks ....,,,,
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How can I read in an object file and jump to locations in it?
What is the stack in c?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
Write a code to generate divisors of an integer?
How do you print an address?
What is sorting in c plus plus?
Can you pass an entire structure to functions?
In a switch statement, explain what will happen if a break statement is omitted?
What is use of integral promotions in c?
Why c is called object oriented language?
What are run-time errors?
Are the outer parentheses in return statements really optional?
What does != Mean in c?
Is c is a high level language?
What is integer constants?