snp-lab-code/P06_Lösung_Andrin/person.h

15 lines
221 B
C
Raw Normal View History

2022-04-07 14:24:54 +02:00
#ifndef PERSON_H
#define PERSON_H
#define NAME_LEN 20
typedef struct {
char name[NAME_LEN];
char first_name[NAME_LEN];
unsigned int age;
} person_t;
int person_compare(const person_t *a, const person_t *b);
#endif