Exercise 5-6. 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).
Exercise_5-6 (Pointer variants of previous programs)
ex5-6-1_(getline) longest.c longline.c prnln.c trimfile (trimfile1.c, trimfile2.c) reverse.c extlong.c copy.c
ex5-6-2_(conversions) atoi.c atou.c htoi.c otoi.c btoi.c itoa.c itoar.c utoa.c itob.c itoap.c atof.c atog.c
ex5-6-3_(chars) case.c conditional (case1.c, case2.c) escapes.c
ex5-6-4_(strings) squeeze.c squeezes (squeezes1.c, squeezes2.c) anychar.c reverse (reverse1.c, reverse2.c)
ex5-6-5_(sort) binsearch.c shellsort (shellc.c, shelli.c) qsort (qsort1.c, qsort2.c)
ex5-6-7_(pattern) Khayam.txt pattern.c patternr.c
ex5-6-8_(calculator) compute.txt calc1.c getcalc.c