confused.. please help

display the 3rd element of a two dimensional array of integers named T of size 2x5?? thanks in advance.. i don't know how to start because i'm just advance studying with array
What have you written so far?

Try writing something, even if you think it's wrong - we'll tell you how to fix it.
we have quiz but our teacher didn't teach that yet

I just did like this

int arr_T[2][5]
court<<arr_T[2]<<endl;

because arr_T[2] is the 3rd element..

is that wrong?

You have a two-dimensional array, not a one-dimensional array.

1 2
3 4
5 6
7 8
9 10
read
http://www.cplusplus.com/doc/tutorial/arrays/

then if any problem put your question here.
Topic archived. No new replies allowed.