A company provides reimbursement of mobile phone subscription charges to its employees belonging to the managerial cadre and above. The following record structure captures the details. employee number, which is designated as the primary key, is a numerical 3-digit key. type refers to a post-paid or pre-paid class of subscription to the mobile service. subscription charges refer to the charges incurred by the employee at the end of every month. employee number designation mobile number type Subscription charges For a sample set of records implement the file as a) an array of records (block size = 1), and b) an array of pointers to records (assume that each pointer to a record is a linked list of two nodes, each representing a record. In other words, each block is a linked list of two nodes (block size = 2)).
A company provides reimbursement of mobile phone subscription charges to
its employees belonging to the managerial cadre and above. The following record
structure captures the details. employee number, which is designated as the
primary key, is a numerical 3-digit key. type refers to a post-paid or pre-paid class
of subscription to the mobile service. subscription charges refer to the
charges incurred by the employee at the end of every month.
employee
number designation mobile
number type Subscription
charges
For a sample set of records implement the file as
a) an array of records (block size = 1), and
b) an array of pointers to records (assume that each pointer to a record is a linked
list of two nodes, each representing a record. In other words, each block is a linked
list of two nodes (block size = 2)).
Step by step
Solved in 2 steps