开发者

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

开发者 https://www.devze.com 2023-01-25 17:48 出处:网络
This question already has answers here: Closed 12 years ago. Possible Dupli开发者_如何转开发cates:
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

精彩评论

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

关注公众号