[ create a new paste ] login | about

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

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


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


Create a new paste based on this one


Comments: