Bitwise interview question

transpose of a matrix code