-2 3 0 1 will be the answer...

On 8/6/11, Prashant Gupta <[email protected]> wrote:
> && executes 1st
>
> On Sat, Aug 6, 2011 at 6:14 PM, Rajesh Kumar <[email protected]>wrote:
>
>> how the evalution done on such type problem?
>>
>> #include<stdio.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, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> Prashant Gupta
> B.Tech Final Year
> Computer Science and Engineering
> NIT Trichy
> Phone : +91 9894462744
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to