I need to concatenate two arrays of string and need to call the function with that string
I have two arrays
char q[4] = {'t','e','s','t'};
char w[4] = {'f','u','n','c'};
#define dump(a,b) a ## b
I have a function called
void testfunc()
{
...
..
}
if I call the macro dumb like dumb(q,w) this is just concatenating q and w, i need to concatenate the strings in that array.
Need to call the function by concatenating the arrays of string using macros. Is that possible??
testfuncdoesn't appear to take any arguments?!'\0', which you did not include.