Adventures in C — Understanding fread() and fwrite()

In my previous article, I shared the code from Zed A Shaws Learn C the Hard Way, exercise 17. In an attempt at better understanding this…