#include<stdio.h>
#include<conio.h>
int main() {
int a[2][3]={0},i,j;
for (i=0; i<3; i++) {
for (j=0; j<3; j++) {
printf("%d", a[i][j]);
}
printf("\n");
}
}
OUTPUT:
000
000
026886320
- I understood 000 000 output but, I did not expecting garbage value 026886320 etc it changes every time i run the code.
- what is the solution to remove/avoid garbage value?