The C processor and the`#define` statement

We'll cover the following

The C prepocessor

The C Preprocessor is a part of the C compilation process that recognizes special statements, analyses them (before compilation) and acts on them as required.

The preprocessor can be used to make programs more efficient, more readable, and more portable to multiple systems.

The #define statement

You can use #define statements to assign symbolic names to program constants. For example:

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy