关键字static
来源:互联网 发布:网络视频广告收入 编辑:程序博客网 时间:2024/06/13 05:26
#include <stdio.h>
void fun()
{
static int a=0;a++;
printf("%d\n",a);
}
int main(void)
{
fun();
fun();
return 0;
}
void fun()
{
static int a=0;a++;
printf("%d\n",a);
}
int main(void)
{
fun();
fun();
return 0;
}
1 0
- static关键字
- static关键字
- 关键字STATIC
- 关键字STATIC
- static关键字
- static 关键字
- static关键字
- static关键字
- static关键字
- static关键字
- static 关键字
- Static 关键字
- static关键字
- Static关键字
- static关键字
- static关键字
- static关键字
- 关键字:static
- Linux CentOS 6.6安装JDK1.7
- netty源码分析 之七 transport(Unsafe)
- 深入理解Java虚拟机4~类文件结构
- struct sock_addr 和struct sock_addr_in的区别与联系
- 多线程应用于自动化测试
- 关键字static
- 写标流程学习总结
- 获得每个用户的最后一条记录
- 使用copy函数输出vector中的内容
- Cooja 中自定义 Java Mote 使用 Collect-View
- 使用POTEUS软件来进行模拟仿真 8086汇编语言花式跑马灯课程设计及代码
- jquery 全选、反选、即点即改
- redis3.0.7源码阅读(一)源码文件
- Good Bye 2016D. New Year and Fireworks(dfs)