#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[])
{
    char *str1 = "Hello ";
    char *str2 = "world!";
    
    char *result = malloc(strlen(str1) + strlen(str2) + 1);
    strcpy(result, str1);
    strcat(result, str2);
    
    printf("%s\n", result);
    
    free(result);
    return 0;
}