top of page

Symbolic Constants

Symbolic Constants are constants which may be defined and will serve as a substitute for a character or numerical value. Symbolic Constants are generally defined near the beginning of a program using #define CONSTANT value

Example:

Output:

symbolconst2.png
symbolconst1.png

Notice how we keep the Symbolic Constant all capital letters, this lets the programmer and readers know that it is a Symbolic Constant and differentiate it from other variables.

  • Twitter
  • LinkedIn
  • discord-logo--v2
  • kisspng-github-pages-logo-repository-fork-github-logo-1-magentys-5b69de71b51265

Dragon Eye Intelligence LLC

bottom of page