Disjoint Dynamic Structure assignment:Voter
You will write a menu drive program that will input data from abinary file named input.bin which should be located in the SRCfolder. The binary file will have the following layout:
First 4 Bytes: The size of the array, the total number ofelements within the array
Second 4 Bytes: The effective size of the array, the totalnumber of elements that have data
Remaining Bytes: The data from the Disjoint Memory Array ofVOTERS as follows:
Field 1: NAMEname
(First Name(50), Middle Initial(1), Last Name(70))
(First and Last name sentence case)
(middle initial will be uppercase followed by a period if amiddle initial exists)
Field 2: char
PayPal Gateway not configured
PayPal Gateway not configured