当前位置:网站首页>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);
}
边栏推荐
- Life is changeable, and the large intestine covers the small intestine. This time, I can really go home to see my daughter-in-law...
- Paddleocr tutorial
- Data on the number of functional divisions of national wetland parks in Qinghai Province, data on the distribution of wetlands and marshes across the country, and natural reserves in provinces, cities
- 用快解析内网穿透实现零成本自建网站
- 城市轨道交通站应急照明疏散指示系统设计
- Advanced template
- How many triangles are there in the golden K-line diagram?
- Pytoch --- use pytoch to realize linknet for semantic segmentation
- 【selenium自动化】常用注解
- How long does it take to obtain a PMP certificate?
猜你喜欢
Specification for fs4061a boost 8.4v charging IC chip and fs4061b boost 12.6V charging IC chip datasheet
企业公司项目开发好一部分基础功能,重要的事保存到线上第一a
华为200万年薪聘请数据治理专家!背后的千亿市场值得关注
【雅思阅读】王希伟阅读P3(Heading)
XML的解析
[IELTS reading] Wang Xiwei reading P3 (heading)
Netcore3.1 JSON web token Middleware
快解析——好用的内网安全软件
2022.07.03(LC_6111_统计放置房子的方式数)
如何避免电弧产生?—— AAFD故障电弧探测器为您解决
随机推荐
[monitoring] ZABBIX
IT转测试岗,从迷茫到坚定我究竟付出了什么?
积分商城游戏设置的基本要点
GDB常用命令
Illustrated network: what is gateway load balancing protocol GLBP?
如何用快解析自制IoT云平台
Basic points of the game setup of the points mall
How to do the project of computer remote company in foreign Internet?
Summer challenge brings you to play harmoniyos multi terminal piano performance
Skills in analyzing the trend chart of London Silver
[path planning] RRT adds dynamic model for trajectory planning
Five papers recommended for the new development of convolutional neural network in deep learning
IELTS examination process, what to pay attention to and how to review?
The pit of sizeof operator in C language
He worked as a foreign lead and paid off all the housing loans in a year
Summary of week 22-07-02
Every time I look at the interface documents of my colleagues, I get confused and have a lot of problems...
ORB(Oriented FAST and Rotated BRIEF)
基于三维gis平台的消防系统运用
[paper reading] Tun det: a novel network for meridian ultra sound nodule detection