Appendix
Answers to Exercises
This appendix features the answers to the exercises in the back of each chapter. Chapter 3 was the first chapter to feature exercises, so that's where we start.
Chapter 3
- This screenshot shows the error we got when we changed
SayHello()
; toSayHello(;
. - This screenshot shows the error we got when we changed
main
toMAIN
. The linker fails because every program must have a function namedmain()
, and now yours doesn’t. - This screenshot shows the error we got when we deleted the left curly brace that opens the
main() ...
Get Learn C on the Mac: For OS X and iOS, Second 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.