I want to concatenate lots of strings together to produce a unique string which will be long enough. Here is an example code:
 char *s;
 s= strconcat("A big-length string",NULL);
 fprintf(stdout,"%s",s);`
When I try to print it, the string is less that is printed is smaller than the actual string.
Assume that the strconcat() function works well. Do I have to malloc() some space for s??
Also when I try strlen(s) it shows me the right number like 1078. just the printing is the matter. 
EDIT
The problem solved when after all strings I try to inject \n like this
s= strconcat("A big-length string","\n",NULL);