当前位置:网站首页>C language left value and right value description [easy to understand]
C language left value and right value description [easy to understand]
2022-07-25 21:50:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
The left value : The name or expression used to calibrate a specific data object .
there Data objects Refers to the data storage area . And C++ There are differences between the objects facing the objects .
therefore , An lvalue refers to an address in memory .
But some variables cannot modify the value in memory , Like using const Variables created by qualifiers . To distinguish from these variables , The modifiable object is called Modifiable lvalue .
So the assignment operator = The left side of should be a modifiable lvalue .
Right value : The quantity that can be assigned to the modifiable lvalue . The right value cannot be the left value itself . The right value can be a constant 、 Variable 、 Expression or function return value, etc .
for example
year = 2020; here year Is a modifiable lvalue , and 2020 Is a modifiable right value .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/127919.html Link to the original text :https://javaforall.cn
边栏推荐
- c sqlite ... ...
- Basic knowledge in the project
- Pyg tutorial (8): calculate a more efficient sparse matrix form
- ES6 -- Deconstruction assignment
- Basic knowledge in the project
- Special class design
- Detailed explanation of JVM memory model and structure (five model diagrams)
- [manageengine]itsm application in retail industry
- [hand torn STL] unordered_ set、unordered_ Map (encapsulated with hash table)
- 2022-07-18: what is the output of the following go language code? A:Groutine; B:Main; C:Goroutine; D:GoroutineMain。 package m
猜你喜欢

Babbitt | metauniverse daily must read: the popularity of virtual people has decreased, and some "debut is the peak", and the onlookers have dispersed

零基础学习CANoe Panel(17)—— Panel CAPL Function

Bitcoin.com:USDD代表了真正去中心化稳定币

Detailed explanation of JVM memory model and structure (five model diagrams)

字节一面:TCP 和 UDP 可以使用同一个端口吗?

FAW red flag "King fried" is listed, which is safe and comfortable

Pyqt5 use pyqtgraph to draw multiple y-value scatter plots
![[leetcode ladder] linked list · 021 merge two ordered linked lists](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[leetcode ladder] linked list · 021 merge two ordered linked lists

GPON介绍及华为OLT网关注册配置流程

少儿编程 电子学会图形化编程等级考试Scratch一级真题解析(判断题)2022年6月
随机推荐
再次来光顾
【测开方法论】测开平台pk心得-抉择
Research: more than 70% of doctors are still prescribing unsafe antibiotic drugs
8000 word super detailed custom structure type
Isn't it too much to play Gobang in idea?
Web3 entrepreneurship has all the elements of explosive growth of innovation
【饭谈】Web3.0到来后,测试人员该何去何从?(十条预言和建议)
Face and key point detection: yolo5face practice
【Redis底层解析】字符串类型
pyqt5使用pyqtgraph绘制多个Y值散点图
New maixhub deployment (v831 and k210)
【饭谈】那些看似为公司着想,实际却很自私的故事 (一:造轮子)
c sqlite ... ...
Why do independent sellers like to do e-mail marketing? The original conversion rate can be improved so much!
NVIDIA has opened source a comprehensive library of 3D deep learning based on pytorch
Redis configuration
Composition of dog food
狗粮的成分
MPI learning notes (II): two implementation methods of matrix multiplication
I/o case practice