Dynamic array of queue and queue of dynamic array

Hi,
What is the difference between these two ??
logic [7:0] queue [32][]; logic [7:0] queue [][32];
What will happen in each one of the above if we declare like that ??

In reply to nani9483:

I think it would be better to try it in a demo.

In reply to nani9483:

Hi,
What is the difference between these two ??
logic [7:0] queue [32][]; 32 queues which can store 8 bits logic [7:0] queue [][32];
Each queue element can store 32 - 8 bits data.
What will happen in each one of the above if we declare like that ??

Thanks Sharat.
First case is fine. currently I’m experimenting on it. 32 queues will be formed.
Second case is not clear. Can you elaborate on it.

In reply to nani9483:

Maybe the following link can help you.
https://verificationacademy.com/forums/systemverilog/queues-dynamic-arrays

Thanks sharat.