当前位置:网站首页>Deux nombres se remplacent
Deux nombres se remplacent
2022-07-05 00:12:00 【Sunyin. Liu】
#include <stdio.h>
void swap(int a, int b);
int main(){
int a = 5;
int b = 6;
// printf("a=%d,b=%d\n",a,b);
printf("a=%d,b=%d\n",a,b);
swap(a,b);
return 0;
}
void swap(int a,int b){
a = a ^ b;
b = a ^ b;
a = a ^ b;
printf("a=%d,b=%d\n",a,b);
}
边栏推荐
- If you open an account of Huatai Securities by stock speculation, is it safe to open an account online?
- js如何实现数组转树
- How to effectively monitor the DC column head cabinet
- 取得PMP證書需要多長時間?
- 电力运维云平台:开启电力系统“无人值班、少人值守”新模式
- 人脸识别5- insight-face-paddle-代码实战笔记
- PermissionError: [Errno 13] Permission denied: ‘data. csv‘
- How to save your code works quickly to better protect your labor achievements
- [monitoring] ZABBIX
- 快解析——好用的内网安全软件
猜你喜欢
如何避免电弧产生?—— AAFD故障电弧探测器为您解决
青海省国家湿地公园功能区划数数据、全国湿地沼泽分布数据、全国省市县自然保护区
js如何实现数组转树
端口映射和端口转发区别是什么
基本放大电路的学习
圖解網絡:什麼是網關負載均衡協議GLBP?
A new method for analyzing the trend chart of London Silver
[IELTS reading] Wang Xiwei reads P4 (matching2 paragraph information matching question [difficult])
Detailed explanation of openharmony resource management
[kotlin] the third day
随机推荐
用快解析内网穿透实现零成本自建网站
[IELTS reading] Wang Xiwei reading P4 (matching1)
Remember to build wheels repeatedly at one time (the setting instructions of obsidian plug-in are translated into Chinese)
go踩坑——no required module provides package : go.mod file not found in current directory or any parent
It's too convenient. You can complete the code release and approval by nailing it!
45 year old professor, she threw two super unicorns
跨域请求
Go pit - no required module provides Package: go. Mod file not found in current directory or any parent
PermissionError: [Errno 13] Permission denied: ‘data. csv‘
If you open an account of Huatai Securities by stock speculation, is it safe to open an account online?
Best practice case of enterprise digital transformation: introduction and reference of cloud based digital platform system security measures
URL和URI
Is it safe to open and register new bonds? Is there any risk? Is it reliable?
取得PMP證書需要多長時間?
青海省国家湿地公园功能区划数数据、全国湿地沼泽分布数据、全国省市县自然保护区
【报错】 “TypeError: Cannot read properties of undefined (reading ‘split‘)“
Réseau graphique: Qu'est - ce que le Protocole d'équilibrage de charge de passerelle glbp?
初识ROS
【北京大学】Tensorflow2.0-1-开篇
IT转测试岗,从迷茫到坚定我究竟付出了什么?