IBM interview question

Reverse 32 bit integer variable