20.2k views
3 votes
A 2-dimensional 3x3 array of ints, has been created and assigned to tictactoe. Write an expression whose value is that of the first element in the last row.

1 Answer

2 votes

Answer:

Following are the expression of the statement.

tictactoe[0][2]

Step-by-step explanation:

In the given statement, we set 2-dimensional array which index value is [3][3] that means 3 row and 3 column that is total number of elements is 9, it is integer data type 2-D array variable i.e., "tictactoe[][]".

Finally, we write an expression of the 2-D array variable that contains the first element in the last row i.e., "tictactoe[0][2]".

User James McKeown
by
8.8k points

No related questions found