最佳答案
具体来说,在 C + + 中,例如:
static const int x = 0 ;
还有
const int x = 0 ;
作为链接和存储类说明符(即在函数内部和外部)。