[algogeeks] order of evalution of variable problem

2011-08-06 Thread Rajesh Kumar
how the evalution done on such type problem? #includestdio.h main() { int i=-3,j=2,k=0,m; m=++i ++j || k++; printf(%d %d %d %d\n,i,j,k,m); } -- Regards Rajesh Kumar -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group,

Re: [algogeeks] order of evalution of variable problem

2011-08-06 Thread Prashant Gupta
executes 1st On Sat, Aug 6, 2011 at 6:14 PM, Rajesh Kumar testalgori...@gmail.comwrote: how the evalution done on such type problem? #includestdio.h main() { int i=-3,j=2,k=0,m; m=++i ++j || k++; printf(%d %d %d %d\n,i,j,k,m); } -- Regards Rajesh Kumar -- You received this

Re: [algogeeks] order of evalution of variable problem

2011-08-06 Thread harshit sethi
-2 3 0 1 will be the answer... On 8/6/11, Prashant Gupta prashantatn...@gmail.com wrote: executes 1st On Sat, Aug 6, 2011 at 6:14 PM, Rajesh Kumar testalgori...@gmail.comwrote: how the evalution done on such type problem? #includestdio.h main() { int i=-3,j=2,k=0,m; m=++i ++j || k++;