i think this should do.
Code:
char* myfuntion(const char* your_ variable)
{
// do stuff
return (//your char* value here);
}
int main(void)
{
char v[] = "my array";
myfunction(v);
}