Q : Define a structure of employees of an organization with the following fields:
Empno, Empname, Date_of_joining, Salary, Department
Write a program which accepts names of ten employees and print them on the screen
Solution :
/*==============================
Girfa Student Help
Program : Structure 10 record input/output
More Program :
http://girfahelp.blogspot.in/p/c-language-structure-programming.html
================================*/
#include<stdio.h>
#include<conio.h>
typedef struct stu
{
int Empno;
char Empname[50];
char Date_of_joining[12];
int Salary;
char Department[30];
}Student;