假设我有一个数组。
我在这里犯了什么错误?
int arr[] = {...};
arr = function(arr);
我有以下函数:
int& function(int arr[])
{
//rest of the code
return arr;
}
我在这里犯了什么错误?