0
Need further explanation why the output is 5
3 odpowiedzi
+ 1
Let's solve this using old school method with BODMAS rule in mind
Given,
(arr 3[arr1[0] ][arr2[arr1[8]]] )
(arr3[arr1[0]][arr2[9]])
(arr3[arr1[0]][1])
(arr3[1][1])
5
+ 6
arr3[arr1[0]][arr2[arr1[8]]]
arr3[1][arr2[9]]
arr3[1][1]
5
// int[ ][ ] arr3 ={
{1,2,3}, //0
{4,5,6}, //1
{7,8,9}, //2
{10} //3
};
0
thank you very much