首页 | 本学科首页   官方微博 | 高级检索  
     检索      

深入分析C语言自增表达式
引用本文:栾晓春.深入分析C语言自增表达式[J].黄石理工学院学报,2009,25(3):19-21.
作者姓名:栾晓春
作者单位:枣庄学院,山东,枣庄,277160
摘    要:C语言中的自增运算符有2种运算顺序,灵活复杂。在自增表达式中,由于运算符的优先级和其自身运算规则的矛盾,需要同时兼顾这两方面才能得到正确结果。以Turbo C为环境,对自增运算处于不同的表达式的各种情况进行探讨,深入分析了自增的运算过程,给出了自增的运算规则。

关 键 词:C语言  自增运算符  优先级

Analysis of Self-added Expression in C Language
LUAN Xiaochun.Analysis of Self-added Expression in C Language[J].Journal of Huangshi Institute of Technology,2009,25(3):19-21.
Authors:LUAN Xiaochun
Institution:LUAN Xiaochun(Zaozhuang University,Zaozhuang Shandong 277160)
Abstract:There are two flexible and complex operating sequences in self-added operators of C language.The correct result can be obtained only when the priorities of the operator and its calculation rule are both taken into consideration because of the contradiction between them.Based on Turbo C,this paper discusses the various self-added operation under different circumstances,analyzes the computing process and computing consequently rule of the self-added operator is given.
Keywords:C language  self-added operator  priority  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号