Following page contains links to all solutions to book C Programming Language by Kernighan and Ritchie. This is my attempt at solution. Suggestions are most welcome.
Chapter 1
- Leave out parts of program
- list the escape sequence
- Print heading to temperature conversion program
- Program for Celsius to Fahrenheit table
- Temperature conversion reverse order
- Expression getchar() != EOF
- Value of EOF
- Write a program to count blanks, tabs and newlines
- Replace multiple blank with single blank
- Making tabs and backspaces visible in unambiguous way
- Testing Word Count
- Printing word per line
- Horizontal Histogram -part1
- Vertical histogram - Part 2
- character vertical histogram
- print lines longer than 80 characters
- Remove trailing space and tab
- Reverse input line
- detab
- Replace space with min tab - entab
- Fold long lines
- remove C comments
- Rudimentary C syntax checker
No comments :
Post a Comment