Skip to content
UPEEC

Constants

Values that should not change: `const` variables, `#define` macros and `enum` constants.

Beginner
Comments 0

const float VREF = 3.3f; is type-checked; #define VREF 3.3f is text replacement; enums suit related integer constants.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.