I'm trying to run a c++ 2d array (pretty simple file) and it works but an error (at least I think it's an error) appears on the end.
The code for the array is;
int myArray[10][10];
for (int i = 0; i <= 9; ++i){
for (int t = 0; t <=9; ++t){
myArray[i][t] = i+t; //This will give each element a value
}
}
for (int i = 0; i <= 9; ++i){
for (int t = 0; t <=9; ++t){
cout << myArray[i][t] << "\n";
}
this prints the array properly but adds
"0x22fbb0"
on the end. What is this and why does it happen?