00:03
This time they give us an array with five physical rows and three physical columns.
00:11
And they've given it the identifier an array.
00:16
And specifically they're asking us what code snippet will double the value in what? in an array position, let's see, 2 comma 1.
00:50
So let's take a look at the code snippets.
00:54
In part a, they have our an array index, so they're accessing position 2 comma 1, and they're setting it equal to an array 5 comma 1 times 2.
01:13
Well, that's bad.
01:14
We want it to double the value currently in there, not set it equal to the double of some other entry, so that's false.
01:24
That's not what we're looking for.
01:26
What about setting an array equal to an array times 2.
01:36
Well, actually this one's really bad.
01:37
We don't want to do this.
01:38
Why? they're not even accessing an element...