Soru: Aşağıdaki çıktıyı veren C kodunu yazınız.
00000
01110
01110
01110
00000
#include <stdio.h> #include <conio.h> main(){ int a[5][5],i,j; for(i=0;i<5;i++){ for(j=0;j<5;j++){ if(i==0||j==0||i==4||j==4){ a[i][j]=0; } else a[i][j]=1; } } for(i=0;i<5;i++){ for(j=0;j<5;j++){ printf("%d",a[i][j]); } printf("\n"); } getch(); }