# Module 6: Functions

MODULE OVERVIEW

This module introduces functions in C programming and explains how functions
help organise programs into smaller, reusable blocks of code.



Learners will explore the concept of functions, understand how user-defined and
system-defined functions work, and learn how parameters are passed between
functions.



The module helps learners develop a structured approach to programming by
understanding how functions support code reusability, simplify program
organisation and make programs easier to maintain.






WHAT WILL BE COVERED


6.1 CONCEPT OF FUNCTION

Understand the concept of functions in C programming and how they are used to
divide programs into smaller, manageable tasks. Learn how functions improve
program structure, code reusability and readability.


6.2 USER-DEFINED FUNCTION

Learn how to create and use user-defined functions in C. Understand function
declaration, definition and calling, and how custom functions can be developed
to perform specific tasks within a program.


6.3 SYSTEM-DEFINED FUNCTION

Explore system-defined functions available in the C programming language through
standard libraries. Learn how predefined functions can be used to perform common
operations without writing the functionality from scratch.


6.4 TYPES OF PARAMETER PASSING IN FUNCTION

Understand how parameters are passed to functions in C. Explore how data is
supplied to functions, how arguments and parameters work together, and how
functions can process values received from other parts of a program.


SKILLS YOU WILL GAIN

 * Understanding the role and structure of functions in C.

 * Creating and calling user-defined functions.

 * Working with system-defined functions.

 * Understanding function declarations and definitions.

 * Applying parameter passing techniques.

 * Organising programs into reusable code blocks.


LEARNING OUTCOMES

By the end of this module, learners will be able to:

 * Explain the purpose and benefits of functions in C programming.

 * Create, declare and call user-defined functions.

 * Use system-defined functions for common programming tasks.

 * Understand how parameters and arguments work in functions.

 * Organise programs using reusable and structured functions.

 * Improve program readability and maintainability through modular programming.


CERTIFICATION ALIGNMENT

This module develops modular programming and code-reusability skills that are
essential for writing structured C programs. The concepts covered support
learners in building more organised programs and progressing through the C and
C++ training curriculum.


CONTINUE TO THE NEXT MODULE

Continue to Module 7: Pointers
[https://teamacademy.help.center/article/1339-module-7-pointers] to learn about
pointers, their types, pointer expressions, arrays of pointers and how pointers
are used with functions in C programming.