Hi all,

I'm implementing a list of arrays like so:

Code:
struct Cell {
    int arrayValues[5];
    Cell *next;
};
Cell *head;
How do I write the structure such that all arrayValues are set to 0? I'm trying to use a for loop

Code:
for(int i = 0; i < 5; i++)
    head->valueArray[i] = 0;
outside of the struct but I'm not sure what I'm doing. Thanks for your help!