Professional Documents
Culture Documents
2021
String Data
Logic Data
If a variable defined as constant (“const”), this means that the variable cannot be
modified or reassigned in the future. Therefore, the value of the variable is constant (final). This
feature also allows us to control the variable not to change incorrectly by ourselves or during
the run of the whole code. Some examples about using the “const” statement is given below.
char x[10];
Operators