How Do I return a char array from a function

I want a function to return a char array.
Would Something like this work;

char* name(char first[], char second[])
char fullName[100];
/somehow make the names add/
return fullName;

Help please…
:confused: :confused: :confused:

You can pass the pointer to the array into the function. Then populate the array in the function. Upon return, the array can be used.