+ 7
How does it work? Describe plz..
int[][]my arr={ {1,2,3},{4},{5,6,7} }; my arr[0][2]=42; int x=my arr [1][0]; >>>> >>> answer is: 4... .....
1 Answer
+ 17
third element of first subarray is converted to 42 and x is assigned with the first element of second subarray (of array myarr)