The publishing company introduced errors
during the layout of the first printing of this edition of this book. These errors were
fixed in later printings. Following are known errors in the first printing of the Fifth
Edition:Page 36:
Lines 16 and 22 should return a value. New lines are:
16: return (1);
22: return (1);
--------
Page 43:
The variable name 1999_tax is illegal. This was suppose to be presented as _1999_tax
(with a leading underline).
--------
Page 105:
The following lines of Listing 5.2 needs modified:
12: z = half_of(x);
16: z = half_of(y);
--------
Page 113:
The line of code near the top is missing (y). The complete line is:
x = half(third(square(half(y))));
--------
Page 113:
The following lines were missing their parameters:
a = half(y);
b = square(a);
c = third(b);
x = half(c);
In the book the parameters (y), (a), (b), (c) are dropped.
--------
Page 115:
Line 20 needs to be modified. The (x) was dropped in the book:
20: f = factorial(x);
--------
Page 337:
Line 9 of Listing 14.2 should be:
9: while ((ch = getchar()) != '\n')
--------
Page 337:
Line 12 of Listing 14.3 should be:
12: while ((ch = getchar()) != '\n' && x < MAX)
--------
Page 339:
Line 10 of Listing 14.4 should be:
10: while ((ch = getch()) != '\r')
--------
Page 340:
Line 13 of Listing 14.5 should be:
13: while ((ch = getch()) != '\r' && x < MAX)
--------