Realloc array of strings
===

I made this:

    char *string_arr[] = {     "Hi", 
                               "Hi2",
                               "Hi3",
                               "Hi4"    };
    int lang_arr_ = sizeof (string_arr) / sizeof (string_arr[0]);

But I need to realloc the array because I have to insert another element in the array string_arr, like "Hi5". How can I do that?

I tried:

    string_arr = realloc (.....); 

but it doesn't work, it says: "incompatible types in assignment"


Thanks

       


