Intel Corporation interview question

Byte swapping in C