sizeof(struct customer);
or typedef and you could use just customer.