Exercise: Bitwise NOT

Put into practice what we’ve learned about bitwise negation.

We'll cover the following

Exercise

Apply bitwise NOT for the following unsigned two-byte integers:

  • 56
  • 1018
  • 58362

Repeat the calculations for the case when these are the signed integers.

Get hands-on with 1200+ tech skills courses.