I have made find.c and coded binary search in helpers.c, so when I run find like
and start entering sorted values like
haystack = 42 haystack = 43 haystack = 44 haystack = 45 haystack = 46
it runs perfectly. But the EOF(Ctrl + D) is not working. The console screen displays blank screen but it does not return anything.I have to press Ctrl + C to end the program. What the damm hell?