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 do you use a pointer to a function?
Why is c still so popular?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
4. main() { int c=- -2; printf("c=%d",c); }
Can I initialize unions?
What is the use of pointers in C?
What is #include conio h?
What is wrong in this statement?
How are portions of a program disabled in demo versions?
What is pointers in c?
What is equivalent to ++i+++j?
Explain the advantages of using macro in c language?
In C language what is a 'dangling pointer'?
Why calloc is better than malloc?
Explain output of printf("Hello World"-'A'+'B'); ?