Untitled Document 20
Untitled Document 20
Defining a Variable:
int age;
age = 25;
Constants:
A constant is a value that cannot be altered during the program's execution. Constants
are used to represent fixed values that do not change, enhancing code readability and
maintainability.
Defining a Constant:
Constants can be defined using the const keyword or the #define preprocessor directive:
or