I always though that if I declare these three variables that they will all have the value 0
int column, row, index = 0;
Bu
When you declare a variable without initializing it, a random number from memory is selected and the variable is initialized to that value.