A constant and variable are variations of data types.
int a;
is a variable and its value can be changed by the program as the program runs.
const int b;
is a constant with a fixed value and will have its value set and may not be changed by the program as as the program runs.
All data types may be declared as a constant.
Variable Value Can Be Changed By You In Programme.
Copyright © 2026 eLLeNow.com All Rights Reserved.