Question: Create a file customer.h containing a struct declaration that matches the data format of a single line in the text file. The customer id (1st
Create a file customer.h containing a struct declaration that matches the data format of a single line in the text file. The customer id (1st field) must be declared integer and account balance (last field) must be declared float. You may choose any data type for the remaining fields. Write a C program that: create a new file called customerB.txt (binary file). read each line from customerA.txt and write that data to customerB.txt in binary
customerA.txt: 2094936
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
