I knew that reference is just another name of a variable, they do not exist as a separate object in memory but what is happening here
double i = 24.7;
const int &ri = i; //notice int here
std::cout << i << std::endl; //prints 24.7
i = 44.4;
std::cout << ri << std::endl; // prints 24
std::cout << i << std::endl; //prints 44.4
My question is ri is alias of what ? [value 24 in somewhere memory]