File Processing - Sequential and Direct Access/lab7a.c
void printEmpList(const Employee *EmpList){
    
    printf("%-4s%-10s%-10s%-4s\n", "ID", "FIRSTNAME", "LASTNAME", "GPA");
    
    for(size_t i = 0; i < EMP_ARR_SIZE; i++){     
        printf("%-4d%-10s%-10s%-4.1f\n", EmpList[i].id, EmpList[i].firstname, EmpList[i].lastname, EmpList[i].GPA);
    }
}
/*  
    printEmpList: Display the contents of Employee records from the list 
    input: the array to read from
*/
Display the contents of Employee records from the list
input: the array to read from
Display the contents of Employee records from the list input : the array to read from
void printEmpList(const Employee *EmpList){
    printf("%-4s%-10s%-10s%-4s\n", "ID", "FIRSTNAME", "LASTNAME", "GPA");
    for(size_t i = 0; i < EMP_ARR_SIZE; i++){     
        printf("%-4d%-10s%-10s%-4.1f\n", EmpList[i].id, EmpList[i].firstname, EmpList[i].lastname, EmpList[i].GPA);
    }
}
void printEmpList ( const Employee * EmpList ) { printf ( " \n " , " " , " " , " " , " " ) ; for ( size_t i = 0 ; i < EMP_ARR_SIZE ; i ++ ) { printf ( " \n " , EmpList [ i ] . id , EmpList [ i ] . firstname , EmpList [ i ] . lastname , EmpList [ i ] . GPA ) ; } }
printEmpList: Display the contents of Employee records from the list
input: the array to read from
printEmpList : Display the contents of Employee records from the list input : the array to read from