I assume the const
makes it so the integer value is unchangeable.
1 Like
That’s correct. In the context of a variable, const fixes the value of the variable so it cannot be changed.
I assume the const
makes it so the integer value is unchangeable.
That’s correct. In the context of a variable, const fixes the value of the variable so it cannot be changed.