Question: 2. Assume that the following structure has been defined: RentalInvoice STRUCT invoiceNum BYTE 5 DUP(' ') dailyPrice WORD ? daysRented WORD ? RentalInvoice ENDS State
2. Assume that the following structure has been defined:
RentalInvoice STRUCT invoiceNum BYTE 5 DUP(' ')
dailyPrice WORD ?
daysRented WORD ?
RentalInvoice ENDS State whether or not each of the following declarations is valid:
a. rentals RentalInvoice <>
b. RentalInvoice rentals <>
c. march RentalInvoice <'12345',10,0>
d. RentalInvoice <,10,0>
e. current RentalInvoice <,15,0,0>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
