Arrays-wave print column wise

https://ide.codingblocks.com/s/135091 Please help to resolve error!

i am getting runtime error