Start with


struct person {
// char *name, *surname;
char name[100], surname[100];
int age, income;
};

until you understand the finer points of memory allocation.