Spiral Print for 2d array

Sir is it possible to print spiral matrix for uneven matrix,(matrix having different column for each row).