typedef struct student_s {
char *name;
int age;
char *school;
int year;
} Student;
typedef struct node_s {
Student person;
Node *next;
} Node;
The errors I get are
Error : ';' expected
linkedList.c line 12 Node *next;
Error : declaration syntax error
linkedList.c line 13 } Node;
I can't see anything wrong... can you?
char *name;
int age;
char *school;
int year;
} Student;
typedef struct node_s {
Student person;
Node *next;
} Node;
The errors I get are
Error : ';' expected
linkedList.c line 12 Node *next;
Error : declaration syntax error
linkedList.c line 13 } Node;
I can't see anything wrong... can you?