dfkt.net
ǰλãҳ >> 64λϵͳ long int >>

64λϵͳ long int

64λϵͳ£intΪ֮ǰļݣռ4ֽ32λlongչ8ֽ64λ ߲ͬ 1 ռռ䲻ͬһ֮ǰѾ˵ˣ 2 ﷶΧͬ ռռ䲻ͬlongԱʾķΧΪ int ΧΪ-2147483648~2147483647...

ڵIJϵͳ16λϵͳ intöֽڱʾΧ-32768~32767 long4ֽڱʾΧ-2147483648~2147483647 չ32λϵͳ int 4ֽڱʾlongͬ ĿǰIJϵͳѷչ64λϵͳ빤յIJͬ...

clong long(int64)int(int32)֮ΰȫĻתҪ ϸ£ int32ֵint64Ϊint64ıʾΧ󣬴ʱֱӸֵһȫ int64ֵint32int64еֵint32ıʾΧû⣬...

ͻֳйϵ ԣintlong intshort intĿȶ졣мԭANSI/ISOƶģ 1 sizeof(short int)

ڵIJϵͳ16λϵͳ intöֽڱʾΧ-32768~32767 long4ֽڱʾΧ-2147483648~2147483647 չ32λϵͳ int 4ֽڱʾlongͬ ĿǰIJϵͳѷչ64λϵͳ빤յIJͬ...

64λϵͳ,longһ8ֽڣҪ飡ϵͳ gdb p sizeof(long) ֪

64λϵͳCintռ4ֽڣ32λ32λϵͳû 64λϵͳ£64λб봦ʱ仯ıǣlong 32λϵͳ£longռ4ֽڣ32λintͬ 64λϵͳ£longռ8ֽڣ64λзȡֵΧ-9...

㶮intͰɣint ڴռֽ Χ-32768~32767 long longڴռ˸ֽڣ Χ-922337203685775808~922337203685775807 long long intбֵ֧ģЩ֧͵ģ֧֣Ҳģ֧֣...

ҪôЩ͵ôˣͬıܻint䲻ͬĿռ䣬һ32λϵͳлint4ֽڣǰĵƬһ1ֽڣ64λıһ8ֽڣֽͬڣܱʾȡֵΧҲ...

long longֵ9223372036854775807long longСֵ-9223372036854775808 չϣ һֽڱʾλ1byte = 8 bit; int: 4byte = 32 bit зsignedΧ2^31-1 ~ -2^312147483647 ~ -2147483648޷unsignedΧ2^3...

վҳ | վͼ
All rights reserved Powered by www.dfkt.net
copyright ©right 2010-2021
磬ַϵͷzhit325@qq.com