1 Star 0 Fork 0

李勇震/c语言每日练习

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
test 11.08(函数数字互换) 235 Bytes
一键复制 编辑 原始数据 按行查看 历史
李勇震 提交于 2022-11-08 12:08 +08:00 . add test 11.08(函数数字互换).
#include<stdio.h>
void Swap(int* pa,int* pb)
{
int tmp = 0;
tmp = *pa;
*pa = *pb;
*pb = tmp;
}
int main()
{
int a = 10;
int b = 20;
printf("%d %d\n", a, b);
Swap(&a, &b);
printf("%d %d", a, b);
return 0;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/liyongzhen2004/2022.10.24.git
git@gitee.com:liyongzhen2004/2022.10.24.git
liyongzhen2004
2022.10.24
c语言每日练习
master

搜索帮助

371d5123 14472233 46e8bd33 14472233