I think const allows a variable that is declared before that actual declaration to be applied there.
1 Like
Welcome to the course. Hope you enjoy it.
That is not quite right. It makes the variable a constant and the value cannot be changed. If you try assigning a new value, the compiler will fail and give you an error.