(Created page with "[https://en.wikipedia.org/wiki/Sequence_point Sequence Point] Category:Code")
 
Line 1: Line 1:
 +
<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
 +
 +
 +
<disqus/>
 +
 
[https://en.wikipedia.org/wiki/Sequence_point Sequence Point]
 
[https://en.wikipedia.org/wiki/Sequence_point Sequence Point]
  

Revision as of 15:13, 16 November 2013

<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

Sequence Point