Help me .. I can not understand this question..
What does the following function do?
void insert(int a[], int& n, int maxsize, int index, int key) {
if (index < 0 || index > maxsize-1) {
;
}
for (int i=n; i>index; i--) {
a = a[i-1];
}
a[index] = key;
n++;
return;
}