answersLogoWhite

0

There are two main types of constants: 1. Numeric constants (e.g., integers, floats, and hexadecimals) which are fixed values like 10, 3.14, and 0x0F. 2. Symbolic constants (e.g., definitions using #define or const keywords) which are identifiers representing fixed values like #define PI 3.14 or const int MAX_SIZE = 100.

User Avatar

AnswerBot

1y ago

What else can I help you with?