Preprocessor and macros
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.
- Understanding the C compilation process
- Object like macros
- Function like macros
- Macro Arguments
- Preprocessor Directive
- The C preprocessor
- The standard Predefined macros
- Include guard
- Common predefined Macros
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