#include <stdio.h>
#include <stdlib.h>
int i=-1;
main()
{
int a[30],n;
printf("enter the no of terms: ");
scanf("%d",&n);
store(a,n);
}
int store(int a[],int y);
{
if(i==y)
{
return \\it should return and terminate
exit(0);
}
i++;
printf("enter the number: ");
scanf("%d",&a{i]);
store(a,y);
i know i had made a mistake but where can i make a correction please solve this.i have store array values without using for loop