Variable Seems to Change on It's Own

Maybe I'm unclear on what initialize means. I thought clear()—which sets every value in the array to 0—would be considered initializing it. Wouldn't I just have to use a loop similar for loop to initialize the arrays?

clear() may be called from setup(), but the initialization is done IN clear(), not IN setup().

but if I declare them in loop then won't they will be declared again every frame?

Unless they are declared static.

But, its easier to just leave them global.