I'm trying to store characters read from a file into an array of characters, but it ends up storing every succeeding character as well. For this code, I created a structure and a function to initialize the array.I'm trying to store characters read from a file