开发者

Is this program having any sequence point issues? [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Dupli开发者_如何转开发cates:

twisted c++ code

FAQ : Undefined Behavior and Sequence Points

#include<stdio.h>
 int main()
 {  
       int i=7,j;
       j=(i++,++i,j*i); 
       return 0;
}

Is j=(i++,++i,j*i++); well defined ? Let me clear my doubt.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜