## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

No credit card required

### Review Questions

You'll find answers to the review questions in Appendix A, “Answers to the Review Questions.”

 1: Find the value of quack after each line. ```int quack = 2; quack += 5; quack *= 10; quack -= 6; quack /= 8; quack %= 3; ``` 2: Given that value is an int, what output would the following loop produce? ```for ( value = 36; value > 0; value /= 2) printf("%3d", value); ``` What problems would there be if value were double instead of int? 3: Represent each of the following test conditions: x is greater than 5.scanf() attempts to read a single double (called x) and fails.x has the value 5. 4: Represent each of the following test conditions: scanf() succeeds in reading a single integer.x is not 5.x is 20 or greater. 5: You suspect that the following program ...

## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

No credit card required