You're right , || all introduce a sequence point. In first case
evaluation proceeds like this:
j = (i++, i++);
*i++* Post increment the i (i is now 11)
*j = i++* Post increment the i (j is assigned 11 and i is now 12)
In second case, the whole of rvalue for = operator will be evaluated
so it means after sequence point the post increment is done...after ht
epost increment is incremented and value is reflected...m i ryt?
On Fri, Oct 26, 2012 at 8:43 PM, Saurabh Kumar srbh.ku...@gmail.com wrote:
You're right , || all introduce a sequence point. In first case
evaluation
3,8,12,17,22,28,35
what is the nth term of this sequence...
plz help
it is the spoj problem on the last page of the problem set, problem code
is as ARD1
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to
find the nth term for the sequence...
3, 8, 12, 17, 22, 28, 35
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to