C++ functions can't return C-style arrays by value. The closest thing is to return a pointer. ...
stackoverflow.com