void语句
来源:互联网 发布:ubuntu怎么安装deb包 编辑:程序博客网 时间:2024/06/05 22:34
#include<stdio.h>
void swap(int a,int b);
int main()
{
int a=5,b=6;
swap(a,b);
printf ("a=%d,b=%d\n",a,b);
return 0;
}
void swap(int a,int b)
{
int i;
i=a;
a=b;
b=i;
}
void swap(int a,int b);
int main()
{
int a=5,b=6;
swap(a,b);
printf ("a=%d,b=%d\n",a,b);
return 0;
}
void swap(int a,int b)
{
int i;
i=a;
a=b;
b=i;
}
阅读全文
0 0
- void语句
- (*(void(*)())0)();语句的理解
- 关于void和循环语句
- void *
- void
- void
- void
- void
- void
- void*
- void
- void
- void
- void
- void
- void
- void
- (void**)&
- Numpy 性能
- 二维数、三维数组
- linux常用工具(bash下)
- top100峰会有感
- win7下Ant编译Zookeeper源码为Eclipse工程
- void语句
- 将WCF服务发布到IIS
- linux下的命令行通配符总结
- javascript常用方法和属性
- 记一次生产环境性能压测优化的经历
- 搭建hadoop2.6.0完全分布式集群
- 让终端支持播放mp3,移植mp3解码库libmad和madplay到嵌入式linux
- 大写字母换小写字母
- 系统设计原则