How can you reverse words in a string without using extra memory?
Anonymous
include #include using namespace std; void ret_str(char* s) { if(*s != '\0') ret_str(s+1); cout>str; ret_str(str); return 0;
Check out your Company Bowl for anonymous work chats.