I have an array of structs. It's declared like this:
tableEntry [MAXSCOPE][MAXSIZE];
When the structs are created, C automatically initializes all the members to either 0 or null.
Let's say that I have given some values to the struct members of tableEntry[1][0], tableEntry[1][1], and tableEntry[1][2].
Now I want to reinitialize all struct members in tableEntry[1][x], where x can be any number from 0 up to MAXSIZE. How would I do that?
Essentially, I want to "delete" those structs. Later I might want to write to those structs and I don't want my new data to be contaminated by any old data that's already there, that's why I want to get rid of all the old data and reinitialize it like when it's first created.