Next:
Arrays as Parameters
Up:
Assignment
Previous:
Assignment
 
Index
Equality
Equality behaves in a similar way. The expression
a == b;
is true if and only if the array variables
a
and
b
store the same address. More commonly you might wish to check whether
a
and
b
are of the same length and have the same contents. In that case, you need to write your own simple method.
Peter Williams 2005-06-07