how the size of an integer is decided?
- is it based on processor or compiler or OS?
Answer Posted / rahul
definitely os bcoz.c compiler occupies 2 bytes in windows
where as the same c compiler occupies 4 bytes in linux.
| Is This Answer Correct ? | 3 Yes | 11 No |
Post New Answer View All Answers
What are volatile variables in c?
Where static variables are stored in c?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What math functions are available for integers? For floating point?
When should you use a type cast?
When the macros gets expanded?
How can I change the size of the dynamically allocated array?
Is flag a keyword in c?
Explain how do you use a pointer to a function?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
Is there any demerits of using pointer?
What is wild pointer in c with example?
How do you override a defined macro?
How are Structure passing and returning implemented by the complier?
What is getch c?