char ch;
while ((ch = fgetc(in)) != EOF) {
fputc(ch, out);
}
https://little-book-of.github.io/c/books/en-US/book.html#exa...The return type of fgetc() is `int` and not `char`. This example will not differentiate between end-of-file in input versus reading 0xff. 82.7 appears to be the only example with this issue, all other places with fgetc correctly uses `int`.
----
I found another section with lots of syntax errors, for example:
int x = 10;
int *p = &x;
int pp = &p; // Should be int **pp
https://little-book-of.github.io/c/books/en-US/book.html#add...Most likely because the two asterisks needed for pointer-to-pointer isn't rendering properly.