Using string class, how to pass string by reference so that it may be modified in an function

Using string class, how to pass string by reference so that it may be modified in an function.

Hello @anshufirefox

like this->

somefunction(string &stringname){

}

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.

Hi can I ask ML/Python related doubts here as well?

Not in this thread, on this forum I mean

if u have bought any ml course then u can ask from that course. TAs of that course will help u