|
-
July 2nd, 2008, 08:57 PM
#1
What determines the size of int?
The size of int changes. Sometimes it takes 16 bits in the memory (2 bytes), while in other cases it might take 32 bites (4 bytes).
I claim the compiler determines the size, but some people told me it's up to the architecture (i.e., the processor).
Am I right here?
Last edited by Talikag; July 2nd, 2008 at 09:00 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|