c++ return array in a function I've tried the following: char[10] testfunc() { char[10] str; return str; ...
stackoverflow.com