C++中内存四区的问题?

const修饰的局部变量到底在哪一个区域?如果是在栈区下面代码,函数重载的时候
为什么运行第二个函数?

#include<iostream>

using namespace std;

void sum(int &a)
{
    cout << " sum(int &a)" << endl;
}

void sum(const int &a)
{
    cout << " sum(const int &a)" << endl;
}

int main()
{
    const int a = 10;
    sum(a);
    system("pause");
    return 0;
}

https://www.cnblogs.com/WindSun/p/11328820.html