Home > Back-end >  For the following multiple choice answer!!!!!!
For the following multiple choice answer!!!!!!

Time:04-13

As a two-dimensional array a. m column, in a number of elements in the [I] before [j] for (),
A. * m + 1 B.i * m + j C.i D.i * * m + j - 1 m + j + 1

CodePudding user response:

Be sure to six words, choose B

CodePudding user response:

Special value method, to think of the I j as 0, there must be in front of the zero element

CodePudding user response:

Will be m=3, I=1, j=1 into the topic of all kinds, snapping profile,

1 2 3
4 5

The answer should be B

CodePudding user response:

M column, then was I * m, the number, I do + j is the first number j.

CodePudding user response:

As a few friends upstairs said, this topic to choose "B"

For two dimensional array, please refer to the "two dimensional array in c + + 1"
"2 d array of c + + 2"
Wish I could help you!

CodePudding user response:

The array element is a [I] [j] the number of lines should not be (I + 1)??
Because the number of lines from zero start
  • Related