Appendix F
Answers to Test Yourself Questions
Chapter 1: Data Types, Variables and Constants
- a. Dennis Ritchie; b. letter or an underscore; c. data type; d. definition; e. l-value; f. modifiable l (ell); g. const; h. escape sequences; i. string; j.double; k. functions; l. semicolon; m. format specifiers, format string; n. sizeof; o. l-value.
-
- True.
- True.
- True.
- False. Comments are to increase the readability of the program. They are not processed by the compiler.
- True.
- False. It is an example of shorthand declaration.
- False. Type modifier modifies the base type to yield a new type.
- False. Constants do not have a modifiable l-value. In general, we say that constants do not have an l-value and have only r-value.
- True. A character constant can ...
Get Programming in C: A Practical Approach, First Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.