pointer array initialization

I was stepping through a piece of code for hash map implementation. I did not understand an implementation where the 2 dimensional hash table is assigned memory. Can someone explain what this piece of code does?

It dynamically allocates an array of pointers - the size of the array of pointers is TABLE_SIZE. Since that's in all-caps, I assume it is a constant, which means that dynamically allocating it is a waste of effort.

Hi LB,
Thanks for your reply. You are correct, the TABLE_SIZE value is a constant, but table data structure is the one which will be assigned size dynamically. So can you please tell me why you think it is waste of effort to do something like this