Lesson 5. Packaging Code in Functions
Functions are central to C programming and to the philosophy of C program design. You’ve already been introduced to some of C’s library functions, which are complete functions supplied as part of your compiler. This lesson covers user-defined functions, which, as the name implies, are functions defined and created by you, the programmer. In this lesson you learn:
What a function is and what its parts are
The advantages of structured programming with functions
How to create a function
How to declare local ...
Get C Programming in One Hour a Day, Sams Teach Yourself, 7th 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.