Working on my assignment, more details in [another question]. If I use
arr[(i * 16) % arrLen] *= 2; // seg fault
arr[i % arrLen] *= 2; // OK!
Why? **[Full source]** see line 31. Why? I modulus the array length so it should be OK?
: https://gist.github.com/3787223 They are going to get you 2 different addresses - 1st one may not be valid?