in reply to Why is my array getting changed?

The time function returns a different time later on.

Update: Uhhh... also the in-place modification jmcnamara++ spotted :)

After Compline,
Zaxo