//Function to reverse a segment of the string void reverse(char* str, int start, int end) { while(start < end) //condition to check character upto end { char temp ...