mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 08:34:42 +08:00
26 lines
372 B
C
26 lines
372 B
C
#ifndef ADVANCED_H
|
|
#define ADVANCED_H
|
|
|
|
typedef struct {
|
|
int age;
|
|
char name[32];
|
|
} childStruct;
|
|
|
|
typedef struct {
|
|
int age;
|
|
char name[32];
|
|
childStruct child;
|
|
} parentStruct;
|
|
|
|
typedef struct {
|
|
parentStruct dad;
|
|
int numberOfMember;
|
|
char familyName[32];
|
|
parentStruct mom;
|
|
} familyStruct;
|
|
|
|
int factorial(int n);
|
|
int fibonacci(int n);
|
|
|
|
#endif
|