Question
Consider the following recursive implementation used to reverse a string:void recursive_reverse_string(char *s, int left, int right){ if(left < right) { char tmp = s[left]; s[left] = s[right]; s[right] = tmp; _________; }}Which of the following lines should be inserted to complete the above code?
Answer: Option C
Was this answer helpful ?
The line "recursive_reverse_string(s, left+1, right-1) should be inserted to complete the above code.
Was this answer helpful ?
Submit Solution