Posts by Algoritmo • 19 points
1 post
-
0
votes1
answer395
viewsQ: Go through 4x4 matrix with for, I don’t understand
I don’t understand that code: #include <stdio.h> #include <stdlib.h> int main() { int i, j; for(i=1; i<5; i++) { for(j=1; j<5; j++) { if(i==j) printf("1 "); else printf("0 "); }…