-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhead.h
45 lines (35 loc) · 1.18 KB
/
head.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/****************************************************** STRUCT TO STORE VALUES IN FILE ******************************************************/
typedef struct per
{
char rn[5];
char name[50];
char city[30];
char email_id[50];
char phnumb[11];
char pc[7];
}per;
/**************************************************************** FUNCTION PROTOTPYES *******************************************************/
void enter_data();
void display();
void search();
void modify_data();
void delete_record();
void sort_record();
void search_n();
void search_c();
void search_pc();
void sort_c(per*[],int);
void sort_pc(per*[],int);
void sort_sln(per*[],int);
void delete_ph();
void delete_rn();
void delete_ei();
void initialise();
void swap();
void display_record();
/************************************************************** GLOBAL VARIABLES ************************************************************/
char name[50],city[30],email_id[50],phnumb[10],pc[6],rn[5];
static int serial=0;
per *p[100];
per a[100];
/**************************************************************** END ***********************************************************************/