I am new to C++ and was wondering whether references have memory in C++ .
#include <iostream>
int main()
{ 
    int a = 55;
    int& b = a;
    int* c = &b;
    int* d = &a;
    std::cout << (c)<<std::endl;
    std::cout << d;
}
This outputs: 0077F800 0077F800
If it points to the same address so is reference just another way of accessing the same variable?
 
    