I have a variable that is declared as "const double* value_of_interest", so that the data pointed to by value_of_interest (an adress) is a constant. Now I want to know the value at that address by using the dereferencing operator * on tmp.
More specific "value_of_interest" is an array that contains a certain amount of elements, which are stored all at the same address.
I don't see how that worked at all. That "%d" in printf has a meaning - it says that the argument is an integer and you want it printed in decimal. To print a double, write "%f".