Start with
struct person {
// char *name, *surname;
char name[100], surname[100];
int age, income;
};
until you understand the finer points of memory allocation.
Type: Posts; User: Salem
Start with
struct person {
// char *name, *surname;
char name[100], surname[100];
int age, income;
};
until you understand the finer points of memory allocation.