I sometimes get confused in these numbers with an array and can’t count because the beginning is from scratch and not from one.
And so that I do not get confused, I have to remove the numbers with the size of the arr[4][4].
I want to find a way for this to work automatically, more precisely, it automatically determines the numbers.
I'm really confused
for me arr[4][4]
. it should be arr[3][3].
because the counter starts at zero 0,1,2,3
int arr[][] // <--
{
{ 0,0,0,1 },
{ 1,0,0,0 },
{ 0,2,0,4 },
{ 1,1,0,1 }
};