Errata for Modern C for Absolute Beginners

Chapter 5.2 Arithmetic Operators

Replace the 4th paragraph with: Let us look at what the modulo (the remainder) operator % does. The result of the x % y expression is the remainder of the x / y integral division. For example, the result of the 9 % 2 is equal to 1. With integral division, 9 divided by 2 equals 4. And 2 * 4 is equal to 8. The result of the modulo operation is 1, because 9 - 8 equals 1.


Errata for Modern C for Absolute Beginners, 2nd edition

Chapter 20 Enumerations

Change the fourth sentence in second paragraph to: The subsequent enumerators have the values of 1, 2, ...

Chapter 23.4.1 #if

Replace the typo in fifth paragraph, use: #elif

32.1.1 strlen

Replace the typo in function signature, use: size_t