Input.txt file says "hey" but when i run this program in c compiler the output is heyy an extra y is added on?

1 answer 1