#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
int a[10][10]={{1},{1},{1},{1},{1},{1},{1},{1},{1},{1}};
int i,j;
for(i=0;i<=9;i++)
{
for(j=0;j<=i;j++)
{
a[i+1][j+1]=a[i][j]+a[i][j+1];
printf("%5d",a[i][j]);
}
printf("\n");
}
}
为什么会出现 发生缓冲区溢出问题呢?