I have these two lines of code within my program and the output I would hope to get would be: \927\Code:*txt_ptr++ = '\\'; *txt_ptr++ = (char)strcat(txt_ptr, "\\927\\");
However, the output I get after the second line is: \:927\
Where did the colon come from and how do I prevent it from getting there? Thanks!