Appendix F

Practice Problems

There are two sections in this problem set. In the first section, we present 30 short questions. The reader is suggested to test their skills developed so far. The answers to these problems have not been provided. The reader can get the answers by executing them directly in the machine.

In the next section, 40 programming exercises are given. These exercises are not graded, but mixed in nature. Except for a few of these programming problems, we have also provided the solutions (at the end a * is marked). The reader is suggested, not to look at these solutions before a sincere try. It is assumed that the reader will be able to write programs for those problems for which the solution is not provided.

F.1 SECTION — I ...

Get C Programming Essentials 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.