Question: D. In the main: a. Dynamically allocate an array of structures of type TICKET. Note that the size N of the allocated array should be

D. In the main: a. Dynamically allocate an array of structures of type TICKET. Note that the size N of the allocated array should be entered by the user. | b. Call the functions fillArray, then aveTickets: int main() { TICKET * Ary; int N, i; // Get N and dynamically allocate memory for the array. Check if memory successfully allocated. // Call the functions fillArray, then SaveTickets return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
