The Meaning of Const

When I think of the word const, I think of the word constant. So the variable would be constant within the code. Am I close?

I think using const before a variable is a way of making the successive variable an unmovable value. This means that whichever value is attributed to it when initializing will be its one and only and cannot be rewritten.

1 Like

Privacy & Terms