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
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What is zero based addressing?
Where is volatile variable stored?
What does sizeof int return?
Define Spanning-Tree Protocol (STP)
What is use of integral promotions in c?
What is the use of f in c?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
Write a Program to accept different goods with the number, price and date of purchase and display them
How can I run c program?
What does malloc () calloc () realloc () free () do?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What is the significance of scope resolution operator?
Why is this loop always executing once?
What are the three constants used in c?