Can someone tell me how the index value of 5 in coming as 32766...
1/23/2022 4:35:51 AM
Er, how do you know x is expected to be zero? Again, it is outside the boundary of the array. You must presume the value is unpredictable. (Though, in some cases it IS predictable if you understand memory organization).
Understand that x is indexing outside the bounds of the array. You are seeing what is next in memory past the end of the array.
Ohky thanks 😊
Send us a message