A reference variable is an alias name for the existing variable. This means that both the variable name and the reference variable point to the same memory location. Hence, whenever the variable is updated, the reference is updated too.
Example:
int a=10;
int& b = a;
Here, b is the reference of a.
Storage Classes