How to return array from function in C++. 17 views. asked May 15 by avibootz ... return arr;. } int main() {. int arr[] = {1, 2, 3, 4, 5};.
確定! 回上一頁