Microsoft interview question

Reverse a string in C

Interview Answer

Anonymous

5 Nov 2016

get a pointer at the beginning and a pointer at the end. Increment forward/backward until they meet, swapping at each point.