#include <stdio.h>
#include <conio.h>
struct student where I declare the types of data related
struct student {
    int id;
    int year_career;
    char group;
};
student e; // <- error: unknown type name 'student'
Function enter:
void enter (student* e) {
    printf("Enter the id");
    scanf("%d",&e.id);
    printf("Enter the year of the race");
    scanf("%d",&e.year);
    printf("Enter the group");
    scanf("%c",&e.group);
}
Dispaly funcion
void display (student alum) {
    printf("The id is");
    printf("%d",e.id);
    printf("\r\n");
    printf("The year of the race is");
    printf("%d",e.year_career);
    printf("\r\n");
    printf("The group is");
    printf("%c",e.group);
    printf("\r\n");
}
Principal function
int main() {
    enter(&e);
    display(e);
    getch();
    return 0;
}
Run the following error:
error: unknown type name 'student'
