0

I don't really understand arrays. I'm getting myself quite confused here. I have to answer a bunch of questions regarding a 2x3 integer array t.

Here are the questions that I'm still having a problem with:

1. Write a nested for structure that initializes each element of t to zero.

2. Write a statement that inputs the values for the elements of t from the terminal.

I figured out how to initialize the elements to zero by using int t[2][3] = { {0}, {0}, {0} }, but I have no idea how to do it using a for structure. Could someone point me in the right direction of how to start?

For the second question, I don't even understand what I have to do. Could someone explain to me what it wants?

Thanks!!!