macos - 关于in、Linux、mac等系统的系统整型字节数
ringa_lee
ringa_lee 2017-04-17 13:45:07
0
1
910

in、Linux、mac等系统是不是所有的系统整型字节数都是4?字符类型都是两个字节?如果有例外,麻烦举例说明

ringa_lee
ringa_lee

ringa_lee

reply all(1)
左手右手慢动作

It has nothing to do with the operating system or CPU, but with the compiler. The int of turbo c is 2 bytes. You compile the program and run it on Windows 8 (note that only Windows 8 32bit can run 16-bit programs). If you use an Intel Core i7 processor that supports 64-bit, it will still be 2 bytes.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template