cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
confused.. please help
confused.. please help
Feb 13, 2015 at 2:04am UTC
johms
(5)
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
Feb 13, 2015 at 2:09am UTC
LB
(13399)
What have you written so far?
Try writing something, even if you think it's wrong - we'll tell you how to fix it.
Feb 13, 2015 at 3:16am UTC
johms
(5)
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?
Feb 13, 2015 at 3:31am UTC
LB
(13399)
You have a two-dimensional array, not a one-dimensional array.
1 2
3 4
5 6
7 8
9 10
Feb 13, 2015 at 4:00am UTC
sujitnag
(132)
read
http://www.cplusplus.com/doc/tutorial/arrays/
then if any problem put your question here.
Topic archived. No new replies allowed.