posted 24 years ago
Hi,
long has 64 bit and int has 32 bit. Always right side variable's type should be matched to the left side or it should be less than the left side variable's type. Here you are trying to assign a long two dimentional array into integer two dimentional array. It is not, because of incompatible type. And one more thing, Arrays cannot be resized. If you want to change the arrays size first you have to create a new (desired length of) array and pass your existing arrays into it and you can delete the old arrays. I don't know what Ashish trying to say. Please clarify me if I am wrong.
Thanks
[This message has been edited by V Srinivasan (edited February 19, 2001).]