Question: The correct/preferred signature for a function named , that accepts a string that the function is not going to modify, would be: void dolt(const std::string&

The correct/preferred signature for a function named , that accepts a string that the function is not going to modify, would be: void dolt(const std::string\& str) void dolt(std::string\& str) void dolt(std::string str) void dolt(const std::string str)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
