#include #include #define STR_MAX 20 main() { char h[] = "hello"; char w[] = "world"; char s[STR_MAX]; sprintf(s, "%s %s\n", h, w); printf("%s", s); exit(0); }