Const affect code

I believe const means consistent or constant and will make sure that the variable intialized will not change.

1 Like

Const = Constant.
Has to be declared and initialized at the same time.
Cannot change value except for reference types. For reference types the value is the pointer to the reference not the actual data inside.

Privacy & Terms