#include <stdio.h>

struct student{
    char *name;
    char *year;
    int exam;
};

int main(void)
{
     struct student  astudent,*anystudent;
     astudent.name ="Joe Jones";
     astudent.year="Senior";
     astudent.exam= 95;
     anystudent=&astudent;
     printf("The student's name is: %s\n", astudent.name);
     printf("The student's grade is: %i\n", anystudent->exam);
     return 0;
}