序列点在C语言表达式求值中的作用  

The Function of Sequence Points in C Language Expression Evaluation

在线阅读下载全文

作  者:周二强[1] 张妍琰[1] 

机构地区:[1]河南城建学院计算机科学与工程学院,河南平顶山467036

出  处:《绥化学院学报》2014年第8期147-149,共3页Journal of Suihua University

摘  要:文章分析了序列点在C语言表达式求值中的作用:序列点左边的操作数要先于其右边的操作数求值,讨论了逗号操作符,、逻辑与操作符&&、逻辑或操作符||和条件操作符?:的问号处需要序列点的原因,举例说明序列点在表达式求值中的作用。The paper analyzes the function of sequence points in the C language expression evaluation: the operand on the left of the sequence points should be evaluated before that on the right of the sequence points. It also discusses the comma operator, logical conjunction operator &&, logical disjunction operator ||, and the conditional operator? It shows why the sequence points are needed at the conditional operator?, and illustrates the function of the sequence points in expression evaluation.

关 键 词:序列点 表达式求值 C语言 

分 类 号:TP313[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象