Answers To Exercises
Chapter 1: Introduction
1. The following is pretty accurate:
If e2 is not present in the
for loop, the constant 1 is used for it in the above expansion (which would then be a nonterminating loop, unless something in statement terminates it).
for loop in terms of a
do loop is somewhat awkward, because the body of a
do loop is always executed at least once, whereas the body of a
for loop may not be executed at all, depending on e1 and e2. Nevertheless, the
for loop can be expressed as follows.
Again, if e2 is not ...