Domanda di colloquio di Microsoft

Reverse a string in C

Risposta di colloquio

Anonimo

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.