Notice that I suggested:
struct employee employees[MAX];
Of course, as Salem notes, that is not the end of the story.
Type: Posts; User: laserlight
Notice that I suggested:
struct employee employees[MAX];
Of course, as Salem notes, that is not the end of the story.
This is not an array declaration:
struct employee employees;
This is most likely wrong:
#define MAX = 30;
The C preprocessor directives differ from "normal" C. You probably intended:
#define MAX 30
I notice this in main:
char surname[30];