25.8.0
This website uses cookies to ensure you get the best experience on our website. Learn more

Functions and Memory in C: Getting Started with Functions

Andrada-Maria-Alexandra Canțu

Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. In C, as in other programming languages, the term function refers to a named and parameterized block of code that can be invoked repeatedly. Functions allow monolithic programs to be split into modular chunks, greatly facilitating code reuse and simplifying and improving the logical structure of programs. Explore C functions and learn how they are defined, declared, and invoked. Next, move on to built-in functions and discover how to convert strings to integers, floats, or longs. Then, you will create your own functions to accept input arguments from and return output to the invoker of the function. Finally, you will study the difference between the declaration and the definition of a function. After completing this course, you'll be able to define and invoke functions, understand implicit and explicit function declarations, and use both library functions and user-defined functions.

Issued on

February 20, 2023

Expires on

Does not expire