you can use the function strcat to concat strings
#include <stdio.h> int main() { char str[80]; strcpy(str, "hello "); strcat(str, "world. "); printf("%s",str); return 0; }