int main(int argc, char **argv) {
    if (argc != 3) {
        fprintf(stderr, "Usage: greeting message name\n");
        return 1;
    }
    char greeting[20];
    char *name = argv[2];

    // Your code goes here
    strncpy(greeting, argv[1], 20);

    if (strlen(greeting) < 19) {
        greeting[strlen(greeting)] = ' ';
        greeting[strlen(argv[1]) + 1] = '\0';
    }

    int i = 0;
    int length = strlen(greeting);
    while (i < strlen(name) && length < 19) {
        greeting[length + 1] = name[i];
        greeting[length + 2] = '\0';
        length = strlen(greeting);
        i++;
    }

    printf("%s\n", greeting);
    return 0;
}
Write code to personalize the greeting string by appending a space and then the string pointed to by name.