+ 3

What does myArr[0][2] = 42; actually do here? I deleted it and ran the code and it still gave the output of 4.

4th Feb 2018, 9:00 PM
Zachary Higgins
Zachary Higgins - avatar
2 Answers
+ 5
Post code. I think you might have undefined behaviour, sometimes affectionately called nasal demons.
4th Feb 2018, 9:07 PM
BlazingMagpie
BlazingMagpie - avatar
+ 3
repost all the code
5th Feb 2018, 11:42 AM
M'hamed Saou
M'hamed Saou - avatar