Similar to the ft_swap function, the ft_strrev function will swap characters at different points in the string while utilizing a placeholder char. It'll loop through the string until the while condition breaks and then return the original argument.
Follow me on Github: https://github.com/csphilli