#include #define N 5int main() { int a[N][N],i,j,pos=0; for(i=0; i for(j=0; j if(i==pos && j==pos) a[i][j]=1; else a[i][j]=0; printf("%-3d",a[i][j]); } pos++; printf("\n"); } }