# Module 11: Storage Classes and Pre-processor

MODULE OVERVIEW

This module introduces storage classes and preprocessor concepts in C
programming, helping learners understand how variables are managed within a
program and how preprocessor directives support program compilation.



Learners will explore storage classes, their types, preprocessor directives and
macro substitution.



The module also covers file inclusion, providing an understanding of how
external files and header files can be incorporated into programs to support
code organisation and functionality.






WHAT WILL BE COVERED


11.1 INTRODUCTION OF STORAGE CLASS

Understand the concept of storage classes in C programming and how they
influence the properties of variables, including their scope, lifetime,
visibility and storage behaviour.


11.2 TYPES OF STORAGE CLASSES

Explore the different types of storage classes available in C. Learn how storage
classes define the behaviour of variables and how they influence the
accessibility and duration of variables within a program.


11.3 INTRODUCTION OF PRE-PROCESSOR

Learn about the C preprocessor and its role in preparing source code before
compilation. Understand how preprocessor directives are used to support program
development and manage code-related instructions.


11.4 MACRO SUBSTITUTION

Understand macro substitution and how macros are defined and used in C
programming. Learn how macros help replace defined values or expressions within
source code before compilation.


11.5 FILE INCLUSION PROGRAMMING IN C++

Explore file inclusion and how header files are incorporated into C++ programs.
Understand how file inclusion directives support code organisation, access to
predefined functionality and the development of structured programs.


SKILLS YOU WILL GAIN

 * Understanding storage classes in C.

 * Identifying different types of storage classes.

 * Understanding the role of the preprocessor.

 * Working with preprocessor directives.

 * Implementing macro substitution.

 * Using file inclusion to organise programs.


LEARNING OUTCOMES

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

 * Explain the purpose of storage classes in programming.

 * Identify and understand different storage class types.

 * Describe the role of the preprocessor in program compilation.

 * Implement macro substitution in C programs.

 * Understand file inclusion and its role in program organisation.

 * Apply preprocessor concepts when developing C and C++ programs.


CERTIFICATION ALIGNMENT

This module develops knowledge of variable management, preprocessing and program
organisation, supporting learners in building a stronger foundation in C
programming and preparing to progress into C++ concepts.


CONTINUE TO THE NEXT MODULE

Continue to Module 12: Introduction to Object-Oriented Programming
[https://teamacademy.help.center/article/1344-module-12-introduction-to-object-oriented-programming]
to explore the fundamentals of object-oriented programming, its features and the
structure, execution and debugging of C++ programs.