Page 107
Rewrite appropriate programs from earlier chapters and exercises with pointers
instead of array indexing. Good possibilities include getline
(Chapters 1 and 4),
atoi
, itoa
, and their variants (Chapters 2, 3, and 4), reverse
(Chapter 3), and
strindex
and getop
(Chapter 4).
/* Rewrite appropriate programs from earlier chapters an exercises with pointers instead
* of array indexing. Good possibilities include [...]. */
/* This problem does not have a well-defined goal so I don't feel especially motivated
* to do it. I feel I have a good grasp of pointers and so these exercises seem like
* rather menial translation of previously solved problems. I have a good grasp of
* pointers so I will skip this and carry on with subsequent exercises. */