Question: Required Structsand Function Prototypes Here are three #defines for important constants to use: #define INITSIZE 1 0 #define MAXTEN 5 0 #define MAXROWS 1 0

Required Structsand Function Prototypes
Here are three #defines for important constants to use:
#define INITSIZE 10
#define MAXTEN 50
#define MAXROWS 100000
The first represents the initial size of any row (in terms of number of orders).
The second represents the maximum length of a name for an order.
The third represents the maximum number of rows in the theater.
For safety reasons (or if you want to use 1-based indexing), feel free to add 1 to the last two.
The following struct definition should be used for an order:
typedef struct order 1
int s_seat;
int e seat;
char ?-name;
} order;
The reason the row isn't stored in the order is that each row number will implicitly be equal to the index in the array storing the rows for the movie theater.
 Required Structsand Function Prototypes Here are three #defines for important constants

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!