Hi everyone,
I am not getting how to enter values to that array. Please some one give me a solution.
typedef struct user {
int array[10];
}user;
void main()
{
int i;
user *tmp;
printf("enter array values");
for(i=0;i<10;i++)
{
scanf("%d",&tmp->array[i]);
}
for(i=0;i<10;i++)
{
printf("[%d]\n",tmp->array[i]);
}
}