General Doubt Regarding Recursion

Here is the code:- https://ide.codingblocks.com/s/416653, to reverse the string recursively, Am not getting how to store the reversed string to print the final string or when I am returning the string how may print the whole string. Please explain what is wrong or what should be the approach for this in the code.

it’s your choice
either you reverse the same string
or you can generate the new string which is reverse of given string

Modified Code
Approach 1: https://ide.codingblocks.com/s/416723
Approach 2: https://ide.codingblocks.com/s/416726

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.