<syntaxhighlight lang="c"> int x=10, y; y=x++ + ++x; printf("%d %d %d %d " y, x++, x, ++x); </syntaxhighlight>

a)22,10,11,13 b)22,11,11,11 c)12,10,11,13 d)22 13 13 13


blog comments powered by Disqus

Sequence Point

<syntaxhighlight lang="c"> int x=10, y; y=x++ + ++x; printf("%d %d %d %d " y, x++, x, ++x); </syntaxhighlight>

a)22,10,11,13 b)22,11,11,11 c)12,10,11,13 d)22 13 13 13


blog comments powered by Disqus

Sequence Point