确定由名称表示的实体

时间:2014-05-15 13:02:37

标签: c++ linkage

声明将名称引入声明性区域。但是当这个名称表示的实体确定了吗?在链接时或编译时?

#include <stdio.h>

int a=5;

int main()
{
    extern int a; //Is it true that entity will be determine at linkikng time
    printf("%d\n",a);
}

0 个答案:

没有答案