Problem
1. Show how a 32-bit integer is stored in four memory locations (bytes x, x + 1, x + 2, and x + 3) using the little-endian byte order.
2. Show how a 32-bit integer is stored in four memory locations (bytes x, x + 1, x + 2, and x + 3) using the little-endian byte order.
3. Write a short program to test if your computer is using big-endian or little-endian byte order.