Bỏ qua nội dung

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

Tài liệu

Đăng nhập hoặc tạo tài khoản

IGCSE, A-Level & AP