1. (10 scores)

1. (10 scores)#

The following program implements finding the smallest number, the output is as following, please complement it.

1Output:
21
 1#include <iostream>
 2
 3using namespace std;
 4
 5void find(int* a, int n, int i, int& pk) {
 6  if (i < /* (1) */) {
 7    if (a[i] < /* (2) */) {
 8      pk = i;
 9    }
10    find(a, n, /* (3) */, pk);
11  }
12}
13
14auto main() -> int {
15  int a[] = {4, 2, 6, 1, 7, 3};
16  int n   = 0;
17  find(a, /* (4) */, 0, n);
18  cout << /* (5) */ << endl;
19}