>> any thoughts?
You didn't use memset, so myArr still isn't initialized to zero.

>> any chance of writing it
Not from me, sorry. It shouldn't be that hard to look up memset and make an attempt to use it.