int main(typedef struct employee int emp_codechar name[ ]}file *fpstruct employee eint iclrscr()fp fopen("employee txt""rb")if(fp==nullprintf("\ error opening file")exit( )printf("\ the details of the employees are ")while( fread(&esizeof( ) fp)if(feof(fp)breakprintf("\ \ employee code% " emp_code)printf("\ \ name% " name)fclose(fp)getch()return output employee code namegargi employee code namenikita