*a and a+1 in function definition and recursive call

why *a is used in the function definition when int a would have done the same job also when the recursive call is used why it is called using a+1.

hey @abhishekm, this int *a is used to access array here. int a[ ] and int *a do the same thing.