Show the output of the following code.
#includeusing namespace std;int * f(int list1[], const int list2[], int size) { for (int i = 0 ; i return list1;}int main(){ int list1[] = {1, 2, 3, 4} ; int list2[] = {1, 2, 3, 4} ; int * p = f(list1, list2, 4); cout << p[ ] << end⌉; cout << p[ ] << end⌉; return 0;}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.