Const int

Guessing since the context was, “What if we don’t want our variables to change” and the spelling is “const” that its referring to a constant, which in unchanging by nature of the word. So a ‘const int’ is just an integer the remains the same constantly, rather than a variable since it no longer varies

yep if you declare variable const you can not change it anymore

Privacy & Terms