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 に戻ります)。