O'Reilly logo

C Programming in One Hour a Day, Sams Teach Yourself, Seventh Edition by Dean Miller, Peter Aitken, Bradley L. Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

Image What a function is and what its parts are

Image The advantages of structured programming with functions

How to create a function

How to declare local ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required