View Single Post
Go4Expert Member
14Jul2009,06:06  
anchitjindal07's Avatar
Quote:
Originally Posted by xpi0t0s View Post
You have undefined behaviour because sub[5] doesn't exist.
Limit i to the range 0..4 and you should get consistent behaviour.
Thanks.....friend