#include "StringTest.h" char* StringAdd (char* x, char* y) { char* ReturnString; int Length = strlen(x) + strlen(y); ReturnString = (char*) malloc (Length*sizeof(char)); strcpy (ReturnString, x); strcat (ReturnString, y); return ReturnString; } void FreeMemory (void* z) { void* current = NULL; current = z; free (current); current = NULL; if (NULL == current ) { printf ("Memory deallocated\n"); } }