typedef struct long offs char brand 13 char coun 15 char mile char eng

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
typedef struct
{
long offs;
char brand[13];
char coun[15];
char mile[9];
char engn[10];
char body[15];
char year[5];
char price[10];
char flag;
}Tbase;
Tbase b;
Tbase base[24];
void b_null(Tbase *b)
{b->brand[0]=NULL;
b->coun[0]=NULL;
b->mile[0]=NULL;
b->engn[0]=NULL;
b->body[0]=NULL;
b->year[0]=NULL;
b->price[0]=NULL;
}