#include <stdio.h>
#include <stdlib.h>
struct rithish
{
int roll;
char name;
}*s[20];
void main()
{
struct rithish *s;
int i;
for(i=0;i<2;i++)
{
printf("\n\n\t Enter roll : ");
scanf("%d",&*s[i].roll);
printf("\n\n\t enter name: ");
scanf("%s",&*s[i].name);
}
}
is it possible to do structure variable as pointer to array