Errata for Johnsonbaugh and Kalin, C for Scientists and Engineers, 1997
P. 279, 2nd line from bottom, the for loop should start:
for( j = i + 1; j < n; j++ )
P. 594 In the sel_sort code, the line
j
= i + i;
should be
j
= i + 1;
P. 730, Section 1.3 exercises, number 17: the last term
should be 2**30 rather than
10**30
P. 731, number 3: Line 3 should be "Print r(i)" instead of
"Print s(i)"
The term is thus "r" rather
than "s" with i as the subscript.
P. 755, number 3:
p = &c;