Advertisement

Functions in C

  • Jack Purdum

Abstract

You already know what a function is, but let’s give it a formal definition. A function is a body of code designed to solve a particular task. You should think of a function as a black box, the contents of which are unknown to you. All you care about is that it addresses some task to be accomplished in your program. Hundreds of functions are available for you to use in various function libraries. A function library is simply a collection of functions that share a common area of interest (e.g., the Math and Time functions in Arduino C.) Functions make your life easier because you can stand on the shoulders of those who came before you. You can use their code rather than writing, testing, and debugging the code yourself.

Keywords

Function Signature Logical Operator Function Type Truth Table Memory Address 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Jack Purdum 2012

Authors and Affiliations

  • Jack Purdum

There are no affiliations available

Personalised recommendations