When running the following C file, copying the character to fgetc to my tmp pointer results in unknown characters being copied over for some reason. The characters recieved from