September 2001
Beginner
970 pages
23h 20m
English
You'll find answers to the review questions in Appendix B, “Answers to Review Questions.”
| 1: | Assume all variables are of type int. Find the value of each of the following variables:
|
| 2: | Assume all variables are of type int. Find the value of each of the following variables:
|
| 3: | You suspect that there are some errors in the next program. Can you find them?
int main(void)
{
int i = 1,
float n;
printf("Watch out! Here come a bunch of fractions!\n");
while (i < 30)
n = 1/i;
printf(" %f", n);
printf("That's all, folks!\n");
return;
}
|
| 4: | Here is a first attempt at making min_sec interactive, ... |
Read now
Unlock full access