Re: [algogeeks] Sequence Point C with postincremented

2012-10-27 Thread Saurabh Kumar
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

Re: [algogeeks] Sequence Point C with postincremented

2012-10-27 Thread rahul sharma
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

[algogeeks] sequence

2012-07-24 Thread mike miller
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

[algogeeks] Sequence problem

2012-06-30 Thread Gaurav Popli
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