Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

int a = -6; // binary: 1000000000000110

When we are interested at in working on a binary level, it's sometimes helpful to use hexadecimal values, which are a bit like an intermediary between binary and decimal.

...