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
What is the benefit of using an enum rather than a #define constant?
What is pragma in c?
Give differences between - new and malloc() , delete and free() ?
How can you increase the size of a statically allocated array?
Explain what header files do I need in order to define the standard library functions I use?
What is the default value of local and global variables in c?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
What are two dimensional arrays alternatively called as?
What is a good data structure to use for storing lines of text?
What are the types of data files?
What is the purpose of ftell?
How do I use strcmp?
What are operators in c?
Write a code to generate a series where the next element is the sum of last k terms.
How do you define CONSTANT in C?