Code:typedef struct element{ long int license; char status,type,arrivalTime[SIZE],departureTime[SIZE],duration[SIZE]; int moveCount; }; typedef struct parking{ element parkingSlot[SIZE]; int front,middle,rear; }; main(){ parking park; }
in other function i want to assign a variable (x) to member status
THIS IS WRONG & PLEASE HELP ME TO CORRECT THIS. How should i access member of a structure which is in an array structureCode:p->parkingSlot[p->rear]->status = x;