Chapter 5¶
- Exercise 5.1 - get next integer from input to *pn
- Exercise 5.20 - dcl handling declarations with function argument types, qualifiers
- Exercise 5.2 - get next float from input to *pn
- Exercise 5.3 - strcat(s,t) copies the string t to the end of s
- Exercise 5.4 - strend returns 1 if string t occurs at the end of the string s
- Exercise 5.5 - simple versions of strncpy, strncat, and strncmp
- Exercise 5.6 - Find the pattern using pointers
- Exercise 5.7 - Readlines using array
- Exercise 5.8 - program which has day of the year and month day
- Exercise 5.10 - expr, evaluate rpn from command line
- Exercise 5.11 - entab and detab which accepts arguments
- Exercise 5.12 - entab -m + which accepts arguments
- Exercise 5.13 - tail prints the last n lines of input
- Exercise 5.14 - sorting in reverse (decreasing) order
- Exercise 5.15 - fold upper and lower case together
- Exercise 5.16 - -d makes comparison on letters, numbers, blanks
- Exercise 5.17 - Sorting with options
- Exercise 5.18 - recover from input errors
- Exercise 5.19 - undcl does not add redundant parentheses