My thoughts as to what the "const" variable is

“Const” is refering to constant. So if I were to write, “const int”, it would be considered as constant integer. I believe constant finalizes the value once it’s declared, so if you were to change it later in your code, it wouldn’t update.

If you try to change a constant variable, your code will not compile at all.

Privacy & Terms