What does the following do:
double &number = 12.4;
It should assign the reference to variable of type double as 12.4
but isn't a reference to variable an address of a pointer . Why does it work?
double & Getsomenumber()
{
static double number = 12.4;
double &anotherNumber = number;
return anotherNumber;}