Pergunta de entrevista da empresa Mercury Systems

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