Append string: how to use strcat
#include <stdio.h> #include <string.h> int main () { char str[80]; strcpy (str,"part I, "); strcat (str,"part II, "); strcat (str,"part III."); puts (str); return 0; }