Arduino malfunctions occasionally, could this be a programming error?

TolpuddleSartre:

const uint8_t remote[10] = {A1, A0, A3, A2, 2, 3, 6, 5, 8}; //(OFF,ON) (8,9 active HIGH)

Ten elements, but only nine explicitly initialised.
Why?

What does the comment mean?

I made the array one bigger than it needs to be out of habit of using a null terminator. Correct me if I'm wrong, but I'm pretty sure it shouldn't cause any problems unless the empty element isn't null by default. The comment (OFF,ON) simply means the first half are off buttons and the second half ar on buttons. The last int in the array, 8, is different from the rest. I added it later. instead of a remote button, it controls a mosfet which is connected to a low power water pump. (8 active HIGH) means the pump is on while 8 is high. I just put it in the same array to simplify writing the initialization. 9 is for another pump I haven't implemented into the system yet, so it isn't in the array. Sorry for the confusion.