Hello,
I tried to make a C program to concatenate strings.
This is the result:http://pastebin.com/i18pKRd1
However, how are you supposed to free the allocated space given by malloc since the pointer is local to the function only?
I tried to make a C program to concatenate strings.
This is the result:http://pastebin.com/i18pKRd1
However, how are you supposed to free the allocated space given by malloc since the pointer is local to the function only?