#include <iostream>
using namespace std;
void display(int arr[], int 陆磨n)
{
int i;
for(i=0; i<n; i++)
{
arr[i] += 1;
cout << arr[i] << " ";
岩悉衫 }
cout << endl;
}
void main()
{
int a[3] = {0,1,2};
int b[5] = {0,1,2,3,4};
display(a, 3);
粗腔 display(b, 5);
}