How do you reverse a string in C or C++ without requiring a separate buffer to hold the reversed string?
Here's my take on it in C. Did it for practice and tried to be as concise as possible! You enter a string via the command line, i.e ./program_name "enter string here"
#include #include void reverse(int s,int e,int len,char t,char* arg) { for(;s