Print wave form 2D array

I am printing wave form and it’s showing compilation error can anyone tell why??