double *tt;
tt = new double[2];
std::cout << tt[0] << std::endl;
std::cout << tt << std::endl;
The result is like this
-1.72723e-77
0x12e6062e0
What is the difference between these two? I don't know why the two values have different formats (tt[0] is X.~~ but tt there is no point)