Chapter

Preprocessor Directives

From ComputerScienceOne by Dr Chris Bourke

Concepts

  1. What are preprocessor directives and why are standard libraries included?

    "The lines,\n\n1 #include <stdlib.h>\n\n2 #include <stdio.h>\n\nare preprocessor directives. Preprocessor directives are instructions to the compiler to modify the source code before it starts to comp

  2. How do you use the C standard mathematics library?

    "There are many other important standard libraries that we’ll touch on as needed; of immediate interest is the standard mathematics library, math.h. It includes many useful functions to compute common

  3. What are macros in C?

    "Another preprocessor directive establishes macros using the #define keyword. A macro is a single instruction that specifies a more complex set of instructions. The macro can be used to define constan

Preprocessor Directives | ComputerScienceOne | Bifalgorithm | Bifalgorithm