Skip to main content

  | मौसम…

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

411 REFERENCE · Wikibooks

C++ Language/Type/BitwiseRepresentation/NegativeValue

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

The negative value of an integer could be stored as either "2's complement" (-1 viewed as unsigned char is 0B11111111) or "1's complement" (it is 0B11111110). Additional information about representing a negative value (includes interactive examples)