当前位置:网站首页>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);
}
边栏推荐
- Netcore3.1 JSON web token Middleware
- Summer challenge brings you to play harmoniyos multi terminal piano performance
- Pytoch --- use pytoch to realize linknet for semantic segmentation
- 如何在外地外网电脑远程公司项目?
- Réseau graphique: Qu'est - ce que le Protocole d'équilibrage de charge de passerelle glbp?
- Consolidated expression C case simple variable operation
- AcWing164. 可达性统计(拓扑排序+bitset)
- Combien de temps faut - il pour obtenir un certificat PMP?
- P4408 [NOI2003] 逃学的小孩(树的直径)
- Skills in analyzing the trend chart of London Silver
猜你喜欢

How long does it take to obtain a PMP certificate?

初识ROS

业务场景功能的继续修改

IT转测试岗,从迷茫到坚定我究竟付出了什么?

基本放大电路的学习
![[paper reading] cavemix: a simple data augmentation method for brain vision segmentation](/img/41/eb790e7419a158e985fa503bd7dc17.png)
[paper reading] cavemix: a simple data augmentation method for brain vision segmentation

Application of multi loop instrument in base station "switching to direct"

海思3559万能平台搭建:YUV422的踩坑记录

电力运维云平台:开启电力系统“无人值班、少人值守”新模式

Illustrated network: what is gateway load balancing protocol GLBP?
随机推荐
22-07-02周总结
Remember to build wheels repeatedly at one time (the setting instructions of obsidian plug-in are translated into Chinese)
P3304 [sdoi2013] diameter (diameter of tree)
Is it safe to open and register new bonds? Is there any risk? Is it reliable?
Hash table, hash function, bloom filter, consistency hash
P4408 [NOI2003] 逃学的小孩(树的直径)
How to apply for PMP project management certification examination?
How to reduce the stock account Commission and stock speculation commission? Is it safe to open an online account
Hologres Query管理及超时处理
IT转测试岗,从迷茫到坚定我究竟付出了什么?
In the enterprise, win10 turns on BitLocker to lock the disk, how to back up the system, how to recover when the system has problems, and how to recover quickly while taking into account system securi
【雅思阅读】王希伟阅读P3(Heading)
Using the uniapp rich text editor
Verilog tutorial (11) initial block in Verilog
A new method for analyzing the trend chart of London Silver
"Xiaodeng" domain password policy enhancer in operation and maintenance
城市轨道交通站应急照明疏散指示系统设计
海思3559万能平台搭建:YUV422的踩坑记录
2022.07.03(LC_6108_解密消息)
股票账户佣金怎么调低,炒股佣金怎么调低网上开户安全吗