hi all i have a struct as show below and i want to add it to a random access file (customers.dat)

struct Customer{
int customerId;
char name[20];
char address[40];
int numAccounts;
};

how would i go about doing this

thx n advance