Exercise: Bitwise NOT
Put into practice what we’ve learned about bitwise negation.
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 1300+ tech skills courses.