By identify do you mean refer to each element with the sub-script operator? or something else?
profprog wrote:
Q2) is it should be the both arrays from same type? or it could be like this a1[2][3]and a2 [3][4]?? (sic)
Yes, the the two types should be the same unless you want implicit casts to be performed by your compiler. I don't get what you mean in the second part of the question, though.
profprog wrote:
Q3) how should be the code look like(C++ Borland)?? (sic)
Borland is old and may not be fully compliant with the standard. As a result, your compiler may reject any code code given by us. Update your compiler, then we'll talk.
actually I can't update my compiler because we have to use this version exactly in my college.
about the type of array it should be the same type. I got it (the same in mathematic) when you have to multiplicate two arrays, it should be the same type. right?
by Q1 I mean is there a keyword to identify variable of array?
for example:
int x = 0 ; //identify variable x.
int y = 2 ; //identify variable y.