X is being incremented in steps of 2, so it will never be 15.
I even modified code so that X will never exceed 14 - issue is still here, but there is some logic in it.
I tried to add code in loop and look at output.
it changes in the following way based on loop step:
012345 789ABCDEF
0123456789 BCDEF
012345678 ABCDEF
01234567 9ABCDE




Bookmarks