keyword: const
This keyword is used to mark something as constant, meaning that it cannot change once it is set.
Usage:
const int x = 5; //x is ALWAYS 5
x = 7; //won't compile!
keyword: const
This keyword is used to mark something as constant, meaning that it cannot change once it is set.
Usage:
const int x = 5; //x is ALWAYS 5
x = 7; //won't compile!