Not able to figure out the error
Hey @mohammadabdullahjawwad
Do this
int a[11][11];
memset(a,0,sizeof(a));
Initially the array had garbage values which were not zero
If your doubt is resolved please mark it as closed.
Hey @mohammadabdullahjawwad
Do this
int a[11][11];
memset(a,0,sizeof(a));
Initially the array had garbage values which were not zero
If your doubt is resolved please mark it as closed.