xxx must be NULL terminated for the line after the pink code to not randomly crash. The pink code doesn't guarantee that. So, you might actually want to change: Code: counter<= (sizeof(xxx)-0 to Code: counter< (sizeof(xxx)-1
counter<= (sizeof(xxx)-0
counter< (sizeof(xxx)-1