extern1.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 19 行

C
19
字号
// Build don't run:// Based on a testcase by eyal.ben-david@aks.com// An extern declaration of an undeclared object within a function// introduces the object into the enclosing namespace [basic.link]/7namespace {  void foo() {    extern int xx;    xx = 0;  }  int xx = 1;}int main() {  xx = 2;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?