char k[4] = ""; char f[2] = "1"; char g[2] = "2"; char h[2] = "3"; strcat(k, f); strcat(k, g); strcat(k, h);