Mercury Systems Interview Question

Write a function to swap the bytes in a 32 bit integer.