Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Type/MaxValue/Overflow

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

On Win32, the max value that can be stored in a unsigned int variable is 0xFFFF'FFFF. If you further increment that variable, it will "overflow" (wrapping around back to 0x0000'0000 without error or warning). Additional information about overflow (includes interactive examples)