How Computers Really Work


This page lists updates to the book since its release.

Page 191

In Project #19: Factorial in C, the following line of code:

printf('%d\n', answer);

Should instead read:

printf("%d\n", answer);

That is, the printf string should be enclosed in double quotation marks (") rather than single quotation marks ('). The online version of the code is already correct.