Skip to content

Latest commit

 

History

History

0x0D-preprocessor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

img

Preprocessor and macros

Intro

In this session we will take a look at Macros are and take a peek at what happens under the hood during the preprocessing phase of compilation of a C program.

Resources

  1. Understanding the C compilation process
  2. Object like macros
  3. Function like macros
  4. Macro Arguments
  5. Preprocessor Directive
  6. The C preprocessor
  7. The standard Predefined macros
  8. Include guard
  9. Common predefined Macros

Learning objectives

At the end of this session, you should be able to explain to anyone the following concepts without the help of Google

  • What are macros and how to use them
  • What are the most common predefined macros
  • How to include guard your header files

Quizes

Quiz