R
rafal_
What is the size of int on 64-bit computers ?
Can char have minimal size different from signed char ?
Can char have minimal size different from signed char ?
What is the size of int on 64-bit computers ?
Can char have minimal size different from signed char ?
What is the size of int on 64-bit computers ?
Can char have minimal size different from signed char ?
No. They both have size 1, by definition.What is the size of int on 64-bit computers ? sizeof(int)
Can char have minimal size different from signed char ?
<[email protected]> ha scritto nel messaggioWhat is the size of int on 64-bit computers ?
sizeof(int)
What is the size of int on 64-bit computers ?
I meant if sizeof(int) and size of registers are equal.
I meant if sizeof(int) and size of registers are equal.
[email protected] said:I meant if sizeof(int) and size of registers are equal.
Keith Thompson said:...
The C standard (which defines the C language, which is
what we discuss here) doesn't say anthing about "registers".
(The "register" keyword is merely a hint that access to a
variable should be quick; it also means you can't take its
address.)
I meant if sizeof(int) and size of registers are equal.
Peter Nilsson said:5.1.2.3p12 (Example 4) may be non-normative, but it clearly
talks about registers as something other than an abstract
storage class.
Was that keyword and storage class randomly named?
What is the size of int on 64-bit computers ?
sid said:size of int is 4 bytes on my AMD athlon 64 bit machine
sid said:size of int is 4 bytes on my AMD athlon 64 bit machine
Peter Nilsson said:5.1.2.3p12 (Example 4) may be non-normative, but it clearly
talks about registers as something other than an abstract
storage class.
Was that keyword and storage class randomly named?
Keith Thompson said:sizeof(int) could easily be 8 on the same machine with a different
compiler or operating system, or even with different options to the
same compiler.
See the other responses in this thread for a detailed explanation.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.