Bifalgorithm post · Computer science one · Preprocessor Directives
What are macros in C?
What are macros in C? (Computer science one · Preprocessor Directives) — "Another preprocessor directive establishes macros using the #define keyword. A macro…
Ideas in this flowchart
- The #define preprocessor directive establishes macros.
- The directive uses the #define keyword.
- A macro is a single instruction.
- That instruction specifies a more complex set of instructions.
- Macros can define constants.
- The constants can be used throughout the program.
- The concept is illustrated with an example.