Because this seems like homework, I'll give a homework-oriented answer -- in pseudo-code.
define loop(array, index)
if index == 0
return array
array[index] = get input from user
loop (array, index-1)
Call it with loop(array, array_size).
I'd like to echo Mat's sentiment that this is not a good use of recursion.
Update
Since you'd like to use scanf(3) to read the input, I'll give a stronger hint on how to use it. Above, I wrote:
array[index] = get input from user
You could write this line with the following scanf(3) call:
scanf("%d", &array[index]);
This will store a decimal integer into the array[index] location -- the & returns the address of the array slot, rather than evaluating the array subscription.
void getss(int array[], int size) <br/>{ int counter=0; if(size==0) return; if(counter<size) { scanf("%d",&array[i]; counter++; } getss(array,size-1); }