0
C language variable types
In c language all data types has a byte value, most of them constant values but for long and pointer it says 4 or 8 depending on the system and compiler. In this one I know what the system diffrence is (32 bit / 64bit) but what does compiler diffrence means. Can someone explain
3 ответов
+ 1
A compiler that was developed for a 32-bit system can run on a 64-bit computer (if the 64-bit architecture provides downward compatibility), but it will generate only 32-bit executables.
+ 1
Correct Lalala, though to hone the point I would say it is about the compiler's target system architecture, versus the system architecture where the compiler is running. That also accounts for cross compiling on a larger machine for a smaller target machine.
0
Brian so rather than the Compiler it still is about the systems bit architecture