Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我不断增加一个C变量,它会饱和还是环绕?
C
对于有符号整数类型,未定义会发生什么。
对于无符号整数类型,它将回绕(即回到 0)。