ho trovato un esercizio sul deitel sulle strutture che diceva così:
scrivere un'espressione per accedere al membro phoneNumber del membro personal della struttura costumerRecord...codice:typedef struct customer { char lastName[15]; char firstName[15]; int customerNumer; struct { char phoneNumber[11]; char address[50]; char city[15]; char state[3]; char zipCode[6]; } personal; } customerRecord, *customerPtr;
io ci ho provato ma non riesco a capire bene come fare... riesco facilmente ad accedere a quella principale, ma non alla sottostruttura...