The meaning of const

Doing the assignment in which I’m meant to guess at the meaning of “const”. Constant value are static values, so declaring a variable as “const”, or constant, I assume prevents it from being changed further in the code.

second reply hopefully I wrote it better now I believe const which I think is short for constant allows the variable to remain its value throughout the program without any worry of change

Privacy & Terms