I wanted it to print the whole matrix, though, not just a single element. I tried doing printf("%d", mat[row][col]), but that didn't work...it gave me that big number I was telling you about earlier. Is this wrong? If so, what would be the correct way to print the whole matrix?