I am confused about which syntax to use if I want to pass an array of known or unknown size as a function parameter.
Suppose I have these variants for the purpose:>
In C++, use void func4(const std::string& str).
void func4(const std::string& str)