#include <stdio.h>
    struct test{
        int age;
        char s[100];
        int mark;
    };

    int main() 
     {
        struct test a[4];
        for(int i=0;i<4;i++)
        {
            int temp=0;
             temp+=i;
            printf("enter the age %d",temp);
            scanf("%d",&a[i].age);
            printf("enter the name %d",temp);
            scanf("%s",a[i].s);
            printf("enter the mark %d",temp);
            scanf("%d",&a[i].mark);
        }
        for(int i=1;i<4;i++)
        {
            int temp=0;
            int temp+=i;
            printf("enter the age %d",temp);
            printf("%d\n",a[i].age);
             printf("enter the name %d",temp);
            printf("%s\n",a[i].s);
            printf("enter the mark %d",temp);
            printf("%d\n",a[i].mark);
        }
      
    }