It&#x27;s unfortunate that strcat &amp; friends don&#x27;t return a pointer to the new end of the string, or a count of the characters copied.  You could use those to make subsequent cats more efficient.