Dailyhunt Interview Question

string reverse in C