how the size of an integer is decided?
- is it based on processor or compiler or OS?
Answer Posted / hrishikesh
ans is compiler and not os or machine dependent or
processor b'coz u can port difft os on same processor .
when in tc it is 2
while in gcc it is 4 byte for int .
so her neither u r processor changes nor kernel as all are
originated from
UNIX.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
When the macros gets expanded?
What is the use of f in c?
How a string is stored in c?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What is the size of structure in c?
Why string is used in c?
Explain what is the advantage of a random access file?
What are runtime error?
What math functions are available for integers? For floating point?
What is the difference between the local variable and global variable in c?
Does c have function or method?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Is file a keyword in c?
Explain what are preprocessor directives?
Explain how are 16- and 32-bit numbers stored?