C++ Language/Type/BitwiseRepresentation

From Wikibooks, open books for an open world
Jump to navigation Jump to search

A numeric type like int is stored in computer memory as a well-defined sequence of "bits" (each having a value of 0 or 1).

  1. Ordering of Bytes
  2. Negative Value
  3. Bit Shifting
  4. Non-char Byte
  5. Bit Flags