当前位置:网站首页>Basic bit operation symbols of C language
Basic bit operation symbols of C language
2022-06-25 05:13:00 【N-Raid】
C Basic bit operation symbol of language
1、<< Move left 00011000 << 3 = 11000000( Portable assignment method :<<=)
2、>> Move right 00100100 >> 2 = 00001001( Portable assignment method :>>=)
3、 & Bitwise AND 00010001 & 00100001 = 00000001( Portable assignment method :&=)
4、 | Press bit or 00010001 | 00100001 = 00110001( Portable assignment method :|=)
5、 ^ Bitwise XOR 00010001 ^ 00100001 = 00110000 ( Portable assignment method :^=)
6、 ~ According to the not ~00010001 = 11101110
Bitwise operators take precedence from high to low , In turn ~ & ^ |( Negation and XOR or )
边栏推荐
- How do the defi protocols perform under this round of stress test?
- 两小时带你进入软件测试行业风口(附全套软件测试学习路线)
- ORA-00800: soft external error
- Could not find “store“ in the context of “Connect(homePage)
- 2021-03-23
- 基于SSH实现的学生成绩管理系统
- Personalized Federated Learning with Moreau Envelopes
- Precise delay based on Cortex-M3 and M4 (systick delay of system timer can be used for STM32, aducm4050, etc.)
- Edge loss interpretation
- [keil] GPIO output macro definition of aducm4050 official library
猜你喜欢

ASEMI三相整流桥的工作原理

Install pytorch through pip to solve the problem that torch cannot be used in jupyter notebook (modulenotfoundererror:no module named 'Torch').

Essais de pénétration - sujets d'autorisation

《QDebug 2022年6月》

PHP calls map API

February 20ctf record

Enhanced paste quill editor

buuctf(re)

Wechat applet new version prompt update

HR took the initiative to raise the salary of the test lady. How did she do it?
随机推荐
How to install the blue lake plug-in to support Photoshop CC 2017
TX Text Control 30.0 ActiveX
Database low-end SQL query statement fragment
Uva1103 ancient pictograph recognition
Edge loss interpretation
Svg code snippet of loading animation
CTFHUB SSRF
PHP uses JWT
Read the general components of antd source code
The article is on the list. Welcome to learn
Opensea PHP development kit
Laravel's little knowledge
ASEMI大功率场效应管和三极管的区别
Working principle of asemi three-phase rectifier bridge
ThinkPHP 5 log management
In Net 6 using dotnet format formatting code
Professional things use professional people
Detailed summary of position positioning
What if win11 Bluetooth fails to connect? Solution of win11 Bluetooth unable to connect
Route parameters to jump to the page and transfer parameters -- > hidden parameter list