I know I can have a statement as such
strcat( a, b );
int alen = strlen( a );
printf("a and b concatenated = %s and its length is %d\n", a, alen );
However, I want to preserve a, so I am trying use something more like this:
strcat( a, b );
int xlen = strlen( x );
printf("a and b concatenated = %s and its length is %d\n", x, xlen );
How do I fix the first line with strcat so that it concatenates a and b into x?