linux下整数尺寸

linux 分为 ILP32 和 LP64 两种

ILP32体系:int = long = pointer = 32
LP64体系:long = pointer = 64

在我的电脑上(64位ubuntu,Xeon E3处理器)是LP64体系

结果如下:

image_1bl0ehvba19urh6r19i8df11mjc9.png-45.3kB

Proudly powered by Hexo and Theme by Hacker
© 2021 wastecat