AppendixAnswers toExercises

this appendix features the answers to the exercises in the back of each chapter. Chapter 4 was the first chapter to feature exercises, so that's where we start.

Chapter 4

  1. This screenshot shows the error we got when we changed SayHello(); to SayHello(;.

    image

  2. This screenshot shows the error we got when we changed main to MAIN.

    image

  3. This screenshot shows the error we got when we deleted the left curly brace that opens the main() function.
  4. This screenshot shows the error we got when we deleted the semicolon at the end of the

Get Learn C on the Mac now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.