#include #include #define SIZE 100 #define MAX 10 typedef struct _record { char name[SIZE]; char roll[MAX]; char dept[MAX]; int course; // 0: BTech, 1: Dual, 2: MTech, 3: MS, 4: PhD int sem; char hall[MAX]; } record; typedef struct _venue { char sub[SIZE]; char room[MAX]; int exam; // 0: departmental, 1: central char slot; } venue; typedef struct _timing { int date; //DDMMYYYY format char time; // 'a' for am/FN and 'p' for pm/AN } timing; typedef struct _admit { record who; int exam; // 0 for MidSem and 1 for EndSem int subCount; venue *where; timing *when; } admit; void inputDetails ( admit *student, int n ) { int i, j; printf("\n++ Enter Details of %d Students ++\n", n); for ( i=0; i