2. Write a function that takes a binary file of long integers and appends a new long integer at the end that is the sum of all integers in the original file.
- Write a function that reads items from a binary file and copies them to a dynamically allocated array. I he function must first find the size of the binary file to allocate the array
- Write a function that takes a binary file of long integers and appends a new long integer at the end that is the sum of all integers in the original file.