Replace all pi problem


please help with passing the string to the function and returning back to the main function

1.Make the return type of function as string .
2. Pass string using main function as its name and take string in rpi function as string &s

the answer is not right please help with that too and i am confused how to pass array and strings to function how in which case…please help with that too

@Learning_bunny you just have to write the name of the array and strings as a parameter and then call it

ok but i am not getting the correct output

@Learning_bunny You must have implemented other things wrongly.

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.