- 1、本文档共12页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
C语言中的符号(国外英文资料)
C语言中的符号(国外英文资料)
The symbol in C
The operators type C operator can be divided into the following categories:
The arithmetic operator
For all kinds of numerical operations. Including the plus (+) and minus (-), multiply (*), in addition to (/), yu (or operator, %), since the increase (+ +), minus (-), a total of seven.
The relationship operator
For comparison. Including the greater than (), less than (), equal to (= =), greater than or equal to ( =), less than or equal to ( =), and is not equal to six (! =).
Logical operators
For logical operations. Including (), or (| |), not (!). Three.
Bit operation operator
The amount of the operation is performed by the binary digit. Including and (), or (|), not (~) and an exclusive or (^), left ( ), moves to the right ( ) six.
The assignment operator
Used for assignment operators, divided into simple assignment (=), composite arithmetic assignment (+ = - =, * = / =, % =) and compound operation assignment ( =, | = ^ =, , =, =) three categories, a total of 11 kinds.
The conditional operator
This is a triadic operator that is used for conditional evaluation (? :).
The comma operator
Used to combine several expressions into an expression ().
The pointer operator
To fetch the content (*) and take the address () two operations.
Find the byte operator
The number of bytes used to calculate the data type (sizeof).
Special operators
Parenthesis (), subscript [], member (-,.), etc.
The data type of C
Primitive type, type of structure, pointer type, empty type
Classification and characteristics of basic types
Type specification byte numeric range
Character char 1 C character set
Basic int 2-32768 ~ 32767
Short integer short int 2-32768 ~ 32767
Long integer long int 4-214783648 ~ 214783647
Unsigned unsigned 2 0 ~ 65535
Unsigned long integer unsigned long 4 0 ~ 4294967295
Single precision float 4 3/4e - 38 ~ 3/4e + 38
Double precision double 8 1/7E - 308 ~ 1/7E + 308
3. Constant suffix
L or L long integer
U or U has no sign
F or F floati
您可能关注的文档
- 2011年3月计算机等级考试二级C语言冲刺题二(含答案)(国外英文资料).doc
- 2008年6月计算机考试选择题(国外英文资料).doc
- 2012.6.22资产评估 判断题(国外英文资料).doc
- 2012年6月30日芜湖县事业单位面试真题.doc
- 2012年春季管理信息系统(本)网上作业2(国外英文资料).doc
- 2012版最新网络分析仪测天线S参数应用实例(国外英文资料).doc
- 2013,重庆新人爱上中式婚礼(国外英文资料).doc
- 2013中国TOP10开关插座品牌(国外英文资料).doc
- 2013年幼儿园教师网络培训心得体会.doc
- 2013软考大纲(国外英文资料).doc
- 中考语文复习专题二整本书阅读课件.ppt
- 中考语文复习积累与运用课件.ppt
- 2025年初中学业水平考试模拟试题(二)课件.ppt
- 四川省2015届理科综合试题48套第12套.pdf
- 【课件】战争与和平—美术作品反映战争+课件-2024-2025学年高中美术湘美版(2019)美术鉴赏.pptx
- 【课件】青春牢筑国家安全防线 课件 2024-2025学年高中树立总体国家安全观主题班会.pptx
- 【课件】原始人的创造+课件高中美术湘美版(2019)美术鉴赏.pptx
- 上海证券-美容护理行业周报:流量加快去中心化,强运营头部品牌影响较小 -2024-.pdf
- T_CSEIA 1005—2023_能源工业互联网平台数据治理要求.pdf
- T_CDSA 504.16-2023_急流救援技术培训与考核要求.pdf
文档评论(0)