Concatenate char*

chary is a pointer to a string literal, which is constant. It's undefined behavior to write to a string literal.