I want to have dynamic size of array of pointers, how can I do it with malloc? 
without malloc it looks like this:
typedef struct Nodes {
    UINT_64 Datasequence; 
    UINT_32 Data; 
    struct Nodes *next;
} Node;
Node *head_ri_interface[2][50];
which will give me an array of [2][50] of null pointers.
I have tried this:
void NULLPointerArrayInit(int MAX_LIST_HEAD) {
    int i = 0;
    for (i = 0; i < 2; i++) {
        head_ri_interface[i] = (Node *)malloc(sizeof(Node *) *  MAX_LIST_HEAD);
    }
}
but I see that I get that the struct I am pointing at are not NULL. what am I doing wrong?
 
     
    