Because wth when converted to a pointer to its first element is equivalent to &wth[0].


It sounds like you want to write:

wtha = wth[0] - '0';