This is purly programmer preference, but when using a reference, I do this:
the small " r " helps to remember I am using a reference to another variable.Code:rMyName;
Also, with a variable you have declared as "const", use uppercase letters;
Leaving it uppercase ensures you know that you are dealing with a special variable, hence you know it must be constantly assigned a value.Code:const int MAX_ARRAY = 5;