int unsigned 范围

C/C++中的int 类型能表示的范围是-2^31-2^31 – 1。

unsigned 类型能表示的范围是 0 -2^32

– 1,即 0 - 4294967295

你可能感兴趣的:(int unsigned 范围)