본문 바로가기

Preprocessor, const, static, and enum

English

What runs before the compiler

  • Before the compiler sees your code, the preprocessor handles every line that starts with #.
  • It pastes in headers, replaces macros, and removes comments — a simple text step.
  • You have used it already: #include <stdio.h> is a preprocessor command.

Your code with #include and #define is expanded by the preprocessor, then the compiler turns it into a program

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP