I have a problem here. I'm unable to get how many pointers are there in one row of 2D array of strings. Error says:
division ‘sizeof (char **) / sizeof (char *)’ does not compute the number of array elements [-Werror=sizeof-pointer-div]
I understand what we need to do to get the number, but somehow I can't divide the bytes :/.
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>    
    int main()
    {
        char ***array;    
        array = malloc(1* sizeof(char**));    
        array[0] = malloc(5 * sizeof(char*));    
        size_t size = sizeof array[0] / sizeof(char*); //error
        printf("%lu\n", size);
        return 0;
    }
 
    