How to retrieve all values at a particular nth index in a multi dimensional associative array?

In reply to kambhamvivekshankar:

Hi,

Just try this way, It will work.

foreach(array[i,j,k])
    $display("%d",array[i]["hello"][k]);

But in foreach just check for existence of element. If the element doesnot exists , it will return default value.