Still get the same error without the textcolor. Test to compile and drive the program to see what happens.
Still get the same error without the textcolor. Test to compile and drive the program to see what happens.
Your array holds 4 strings, that means indices 0...3 are valid. Yet you run the loop while (grw < 5) and try to get question[4].
Please try to learn to debug your own programs, for example the use of assert.
What is assert? :S