Marvell Technology interview question

Swap a character array without using additional memory/buffers.