Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
C++
/
C preprocessor
What does a conventional include guard guarantee?
from C preprocessor
C23 (GCC 13.3.0)
beginner
1 min
What does a conventional include guard guarantee?
The header body is processed at most once in each translation unit.
The header creates one runtime module for the whole program.
Definitions in the header have one program-wide storage instance.
Circular dependencies on complete types are resolved automatically.
Check
Ask AI about this kata
Report an error
previous kata
After #define CACHE_ENABLED 0, which condition selects the disabled branch?
Quiz
next kata
What does this program print?
Predict the output
A new version is available
Reload