typedef struct {
employeeT *employees;
int nEmployees;
} *payrollT;
typedef struct {
string name;
} *employeeT;
I need to do this without accessing it as an array:
employeeT e = payroll.employees[i];
but this gives me an error(expected identifier before '(' token) :
employeeT e = payroll.(*(employee+i));
before struct's I could interchange employees[i] and *(employee+i)