I am a beginner in C and I am practicing use of arrays. I created a constant variable for the size of the array, but when I enter it in, I am getting an error that says the size must be constant value. In terminal is highlights int on line 3 and says variable-sized object may not be initialized. It works when I put the integer 5 in the brackets.
const int SIZE = 5;
int grades[SIZE] = {78, 67, 92, 83, 88}; //error on this line