求助:这段代码编译有警告fatal error c1004: unexpected end of file found
#include <stdio.h>#include <stdlib.h>
int main(int argc , char *argv[])
{
int a[4][5] = {1, 3, 5, 7, 2, 4, 6, 8, 10, 11, 12, 13, 14, 9};
int i, j, k, l, tmp;
for(i = 0; i < 4 * 5 - 1; i++)
{
for(j = 0, k = -1, l = 0; j < 4 * 5 - i - 1; j++, l++)
{
if(!(l %= 5))
{
k++;
}
k %= 4;
if(a[k][l] > a[k][l + 1])
{
tmp = a[k][l];
a[k][l] = a[k][l + 1];
a[k][l + 1] = tmp;
}
}
for(i = 0; i < 4; i++)
{
for(j = 0; j < 5; j++)
{
printf("%d\t",a[i][j]);
}
printf("\n");
}
return EXIT_SUCCESS;
}