赞
踩
- int printf(const char* format,...);
- int global_init_var = 100;
- int global_uninit_var;
- void func(int i)
- {
- printf("%d\n",i);
- }
- int main(void)
- {
- static int static_var = 101;
- static int static_var2;
- int a = 1;
- int b;
- func(static_var + static_var2 + a + b);
- return 0;
- }
先使用gcc -c SimpleTest.c生成目标文件SimpleTest.o
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。