[Solved] Why is putchar() printing out the char with the “%” symbol?
A couple of things could be causing that % sign to appear: Your program outputs k without a new line, and your shell prompt just looks like this: % Meaning that you run the program like so: % ./a.out k //getchar k% //putchar + exit + shell prompt So in short: the % isn’t part … Read more