My guess about const

I think the “const” before “int” sets the value of that integer permanently - it cannot be changed later on in the code. “const” is short for “constant”, which means the integer will not be a variable.

Privacy & Terms