Array Spiral Print Anticlockwise

This code unable to compile.Please look at this what is the problem in this code?

@naazsayma123

	cout<<a[i][sc]<<", ";

for all cout statements u had used [i][sc] and did not specify the 2D matrix name
add the array name who index u want to print