{if(n==0)
Return x[0];
Else return x[0]+fun(x+1,n-1);
}
Main()
{int a[]={1,2,3,4,5,6,7};
Printf(“%d\n”,fun(a,3));