Bug with character arrays

Looks like txt starts out like this:
txt[0] = '0';
txt[1] = 0;
txt[2] = '1';
txt[3] = '2';
txt[4] = 0;

Nothing wrong with the compiler at all.

Pete