当前位置:网站首页>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
边栏推荐
- [interview: concurrent Part 24: multithreading: comprehensive exercise] sequence control
- mysql8.0 mha实现高可用《mha》
- dovecot 设置邮箱quota
- How will Web3 change the future of people?
- In Oracle 19C version, logminer package continuous_ The outdated function of mine leads to CDC failure
- Special symbols in shell
- How to use RS485 half duplex chip correctly
- Zero basic learning canoe panel (17) -- panel CAPL function
- 分享|智慧消防应急管理平台解决方案(附PDF)
- What are the application characteristics of NTU general database gbase Bi?
猜你喜欢

919. Complete binary tree inserter: simple BFS application problem

工作面试总遇秒杀? 看了京东 T8 大咖私藏的秒杀系统笔记, 已献出膝盖

PE格式: 分析IatHook并实现

Basic knowledge in the project

【leetcode天梯】链表 · 876 查找链表中间结点

【面试:并发篇23:多线程:join】join再理解

2022 latest examination questions and answers of eight members (standard staff) of Shanghai Architecture

【饭谈】如何设计好一款测试平台?

New maixhub deployment (v831 and k210)

5、 Pinda general permission system__ PD tools XXS (anti cross site script attack)
随机推荐
[51Nod1676 无向图同构]无向图哈希[通俗易懂]
Redis configuration
Redis usage details
狗粮的成分
How to evaluate hardware resources (number of CPUs, memory size) when Oracle migrates from small computers to x86 architecture? Is there a measurement index or company?
【饭谈】那些看似为公司着想,实际却很自私的故事 (一:造轮子)
I/o case practice
dovecot 设置邮箱quota
The adequacy of source evaluation forum · observation model test
Share | intelligent fire emergency management platform solution (PDF attached)
【面试:并发篇24:多线程:综合练习】顺序控制
如何用 Redis 实现分布式锁的?
【leetcode天梯】链表 · 021 合并两个有序链表
【面试:并发篇23:多线程:join】join再理解
How to configure and use rocksdb in the flinksql environment
Ijcai2022 meeting! Microsoft and other tutorials on domain generalization
In Oracle 19C version, logminer package continuous_ The outdated function of mine leads to CDC failure
redis主从架构锁失效问题(主从)
Lichuang EDA -- creation of devices 01 resistance (II)
Pyg tutorial (8): calculate a more efficient sparse matrix form