00:02
Okay, for this question they ask us to assume we have a two -dimensional right numb and it holds four rows and seven columns.
00:19
Okay, and now they ask what correctly assigns, so assigns third physical column of each row.
00:43
Well, let's see.
00:44
This question they must be getting at making sure we note how arrays are indexed.
00:51
They always start at zero.
00:53
So for rows, you can actually access row zero, you can actually access row one, two, and three.
00:59
You won't be able to access any other rows.
01:05
When they want us to assign the, let's see, close this, when they want us to assign the third column, well, the first column starts at zero.
01:19
So we're going to have code somewhere that will say a number, and then we'll have two to access the third column.
01:28
And all of them seem to have that for a statement.
01:32
Let's see.
01:34
And if they're going to assign to it, they have to have some invalid statement.
01:39
And well, if you look at part a, they don't even have a semicolon.
01:43
So that's the only reason why that one is not valid.
01:47
Now let's see.
01:49
If we're going to assign to the column of each row, the third column, well, you're going to need to do that many times, so we're going to need a four loop.
01:59
We're going to need to include the very first row out of all four of them.
02:02
So we're going to start at zero...