String Reverse In C Without Using Inbuilt Functions In Javascript