SyntaxFix
Write A Post
Hire A Developer
Questions
With Boost:
boost::array<char, 10> testfunc() { boost::array<char, 10> str; return str; }
A normal char[10] (or any other array) can't be returned from a function.
char[10]