当前位置:网站首页>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 .
边栏推荐
- display-inline+calc实现左中右布局,中间自适应
- 粽子大战 —— 猜猜谁能赢
- [leetcode daily question 2021/2/13]448. Find all the missing numbers in the array
- MySQL速学-2021-09-01
- 从蚂蚁的觅食过程看团队研发(转载)
- Successfully transplanted stemwin v5.22 on Shenzhou IV development board
- json_ object_ put: Assertion `jso->_ ref_ count > 0‘ failed. Aborted (core dumped)
- [leetcode每日一题2021/2/14]765. 情侣牵手
- 【机器学习小记】【搭建循环神经网络及其应用】deeplearning.ai course5 1st week programming(keras)
- 文案秘籍七步曲至----文献团队协作管理
猜你喜欢
[paper after dinner] deep mining external perfect data for chestx ray disease screening
[leetcode每日一题2021/2/18]【详解】995. K 连续位的最小翻转次数
[leetcode每日一题2021/2/14]765. 情侣牵手
[leetcode每日一题2021/8/30]528. 按权重随机选择【中等】
【dectectron2】跟着官方demo一起做
RT-Thread 学习笔记(三)---用SCons 构建编译环境
Issue 7: how do you choose between curling up and lying flat
抽象工厂及其改进示例
20210807#1 C语言程序结构
[leetcode每日一题2021/2/13]448. 找到所有数组中消失的数字
随机推荐
[leetcode每日一题2021/2/13]448. 找到所有数组中消失的数字
Phase 4: one of College Students' vocational skills preparation in advance
Problems encountered in QRcode QR code (C language)
toolstrip 去边框
【机器学习小记】【人脸识别】deeplearning.ai course4 4th week programming
winpcap 抓包函数pcap_loop(),停止问题
Flutter编译报错 version of NDK matched the requested version 21.0.6113669. Versions available locally: 2
RT-Thread 学习笔记(八)---开启基于SPI Flash的elmfat文件系统(下)
Oracle create index
2021-08-12函数递归_和鹏哥学习C语言
剑指Offer(五十二):正则化表达式
json_ object_ put: Assertion `jso->_ ref_ count > 0‘ failed. Aborted (core dumped)
剑指Offer(四十三):左旋转字符串
【机器学习小记】【风格迁移】deeplearning.ai course4 4th week programming(tensorflow2)
使用Geoprocessor 工具
剑指Offer(二十):包含min函数的栈
.net5wtm (asp.net core) PgSQL unpacking operation
[转]ArcGIS中判断两个Geometry之间的关系
第6期:大学生应该选择哪种主流编程语言
[leetcode daily question 2021/5/8]1723. The shortest time to complete all work