CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics

const Reference Parameter

C++ quiz · Question 74
mediumFunctions

Why would you declare a function parameter as const string& rather than just string?

void print(const string& s);