[cfe-dev] Confusion on interpretations

Jeffrey Walton noloader at gmail.com
Thu May 16 11:06:14 PDT 2013


On Thu, May 16, 2013 at 1:51 PM, Devchandra L Meetei <dlmeetei at gmail.com> wrote:
>
> SUppose if We have
> t = 128;
> n = 3;
> while ( n >= 4 && ((t = 7) & 0x80) == 0 )
>
> why t is 128 after the loop. As we learnt that parentheses has highest
> priority.
> Won't in this case t be 7. why the value is still 128?
n >= 4 is false, so evaluation stops.



More information about the cfe-dev mailing list