SV * TestStringAdd (a,b) char* a char* b CODE: char* c; SV* d; int length; c = StringAdd(a, b); length = strlen(c); d = newSVpv(c,length); // deallocate Memory FreeMemory (c); printf ("Name::%s\n", d); printf ("Length::%d\n", length); RETVAL = d; OUTPUT: RETVAL