Reverse function

Implement a function void reverse(char * c) in C which reverses a
null-terminated string.