Autodesk Interview Question

what does const &str mean in the reverse a str ques?

Interview Answer

Anonymous

Jan 8, 2026

&str means I’m passing a reference to a string that I promise not to modify inside the function.