Bitwise interview question

write a program for reverse string