Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
undefined behavior or not undefined behavior? That is the question
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Christian Bau, post: 1701145"] It is not just a matter of the architecture, it is also a matter of the compiler. Many architectures in use today are based on 32 bit words. To implement "long long" and "unsigned long long", the compiler typically uses two 32 bit words. There is no technical reason why one of those words should be first in memory and not the other, so 64 bit integers could easily be mixed-endian on many current architectures. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
undefined behavior or not undefined behavior? That is the question
Top