char **build_month_list() {
    char *jan = malloc(sizeof(char * 8));
    char *feb = malloc(sizeof(char * 9));
    char *mar = malloc(sizeof(char * 6));

    strcpy(jan, "January");
    strcpy(feb, "February");
    strcpy(mar, "March");


    char **array = malloc(sizeof(jan) * 3);
    array[0] = jan;
    array[1] = feb;
    array[2] = mar;
    return array;
}

int main() {

    // For part 3: Once you've implemented build_month_list, uncomment this code.
    
    char **months = build_month_list();
    for(int i = 0; i < 3; i++) {
        printf("%s ", months[i]);
    }
    printf("\n");

    for(int i = 0; i < 3; i++) {
        months[i][3] = '\0';
        printf("%s ", months[i]);
    }
    printf("\n");
    

    return 0;
}
Prints:
January February March
Jan Feb Mar