当前位置:网站首页>Pengge C language lesson 4 (3)
Pengge C language lesson 4 (3)
2022-07-26 10:43:00 【ZhuMou】
One . The operator
| Binocular operator | effect |
| +,-,*,/,% | Addition, subtraction, multiplication, division and remainder |
| = | assignment |
| +=,-=,*=,/=,%= | Compound assignment |
| <<,>> | Move left 1 position , Move right 1 position |
| &,|,^ | Bitwise AND , Press bit or , Bitwise XOR |
| ==,<,>,<=,>=,!= | Relational operator |
| Monocular operators | effect |
| ++ | Self increasing |
| -- | Self reduction |
| ! | Logic reverses |
| sizeof() | Calculated variables ( Including arrays )/ Memory size occupied by type ( byte ) |
| - | Take the negative |
| & | Address fetch |
| ~ | According to the not |
| * | Indirect access operators |
| + | Correct |
| (datatype) | Cast cast character |
For operators , There are several important points :
1. Operands
2. Combining order
3. priority
4. Some operators do not change the value of the operand , And some will change ( Such as ++,--). The expression formed by operator and operand has its value , And this value is often what we need .
边栏推荐
猜你喜欢

IAR sprintf 浮点 在UCOS 总格式化成0.0的问题

RT-Thread 学习笔记(五)---编辑、下载、调试程序
![[leetcode每日一题2021/2/18]【详解】995. K 连续位的最小翻转次数](/img/de/62fca587cde95110c2a967ca93eea5.png)
[leetcode每日一题2021/2/18]【详解】995. K 连续位的最小翻转次数

RT-Thread 学习笔记(一)---配置RT-Thread开发环境
![[paper after dinner] deep mining external perfect data for chestx ray disease screening](/img/d6/41c75d292c26b2e7e116767a51eb5e.png)
[paper after dinner] deep mining external perfect data for chestx ray disease screening
![[notes on machine learning] [building a cyclic neural network and its application] deeplearning ai course5 1st week programming(keras)](/img/02/f85da2a2f2524fb034b17ed8d06692.png)
[notes on machine learning] [building a cyclic neural network and its application] deeplearning ai course5 1st week programming(keras)

【机器学习小记】【搭建循环神经网络及其应用】deeplearning.ai course5 1st week programming(keras)

Sql Server 数据库之数据类型
![[leetcode daily question 2021/2/13]448. Find all the missing numbers in the array](/img/9b/624416fa6a408bf64ca5438273176b.png)
[leetcode daily question 2021/2/13]448. Find all the missing numbers in the array
控制随机抽中几率 [ C# | Random ]
随机推荐
Oracle cannot start tnslistener service cannot start
鹏哥C语言第六节课
Mlx90640 infrared thermal imager temperature sensor module development notes (VI) pseudo color coding of infrared images
Common classes (understand)
Flutter报错 Incorrect use of ParentDataWidget When the exception was thrown, this was the stack:
Sql Server之查询总结
flutter dart生成N个区间范围内不重复随机数List
STM32 Alibaba cloud mqtt esp8266 at command
oracle 启动不了 tnslistener服务启动不了
Oracle创建索引
[leetcode每日一题2021/5/8]1723. 完成所有工作的最短时间
flutter 背景变灰效果,如何透明度,灰色蒙板遮罩
.net operation redis set unordered collection
Disable usbjatg in Altium Designer
使用grid实现左中右布局,中间内容自适应
【机器学习小记】【人脸识别】deeplearning.ai course4 4th week programming
【机器学习小记】【风格迁移】deeplearning.ai course4 4th week programming(tensorflow2)
Application of.Net open source framework in industrial production
Koin
[leetcode daily question 2021/2/14]765. Lovers hold hands