Chapter 1
- Exercise 1-1:
Run the ``hello, world'' program on your system. Experiment with leaving out parts of the program, to see what error messages you get. - Exercise 1-2:
Experiment to find out what happens when prints's argument string contains \c, where c is some character not listed above. - Exercise 1-3:
Modify the temperature conversion program to print a heading above the table. - Exercise 1-4:
Write a program to print the corresponding Celsius to Fahrenheit table. - Exercise 1-5:
Modify the temperature conversion program to print the table in reverse order, that is, from 300 degrees to 0. - Exercise 1-6:
Verify that the expression getchar() != EOF is 0 or 1. - Exercise 1-7:
Write a program to print the value of EOF. - Exercise 1-8:
Write a program to count blanks, tabs, and newlines.