How do u define a 2by 5 array..is it mean
int t ..
how do u figure out how many elements in the array?
>>How do u define a 2by 5 array..is it mean
Yes you are right.
>>how do u figure out how many elements in the array?
first dimension times second dimenson. Very similar to a chess board where there are 8 rows and 8 columns, which means there are 64 squares. That's the same identical concept with 2d arrays. In your example 2 X 5 = 10 elments.
So it means that it have 2 rows and 5 columns??
and do u know how to name the elements in a row.as a example in the second row
will it be like following?
Yes, again. Looks like you have it figured out.