i am learning The C Programming Language" by Kernighan and Ritchie (2nd edition), Exercise 1.06 on page 17
my question is why everytime i enter ctrl-d, it prints "0D", not "0", my computer is iMAC m1 chip. thanks
#include <stdio.h>
main()
{
printf("%d\n", getchar() != EOF);
}