I have two string constants const char *
like this:
const char * p1 = "abcd";
const char * p2 = "efgh";
I want to convert these into a single string so that it becomes a file name:
const char * filename = "abcd_efgh.txt";
I tried to concatenate the char *
but failed. Kindly guide me as to how to do this.
Thanks