[ create a new paste ] login | about

Link: http://codepad.org/BGmZOTST    [ raw code | output | fork ]

C, pasted on Nov 24:
1
2
3
4
5
6
7
void DuyetCacPhanTuTrenDuongCheoPhu(int a[][MAX], int n)
{
	for(int i = 0; i < n; i++)
	{
	printf("%4d",a[i][n - 1 - i]);
	}
}


Output:
1
2
3
Line 1: error: 'MAX' undeclared here (not in a function)
In function 'DuyetCacPhanTuTrenDuongCheoPhu':
Line 3: error: 'for' loop initial declaration used outside C99 mode


Create a new paste based on this one


Comments: