Page 1 of 1

About Question enthuware.ocajp.i.v8.2.1191 :

Posted: Thu Jun 03, 2021 2:10 am
by baichen7788
the question says the size is cA[2][3], not index cA[2][3].
So the given answer is not right.

Re: About Question enthuware.ocajp.i.v8.2.1191 :

Posted: Thu Jun 03, 2021 3:40 am
by admin
No, the problem statement does not say "size is cA[2][3]". It says, "...with a size such that cA[2][3] refers to a valid element". Please observe the "such that cA[2][3] refers to a valid element" part.
The problem statement is quite clear on what it is saying. You have to create the array such that cA[2][3] refers to a valid element.