On Sat, 2010-05-22 at 20:22 -0700, Brian Lavender wrote:
> in C. What is the order of precendence?
> 
> a || b || c && d || e || f
> 
> Is it just left to right?
> 
> brian

http://www.difranco.net/cop2220/op-prec.htm

&& has higher precedence than ||, so your expression is evaluted as 
a || b || (c && d) || e || f

Many other programming languages adopt C's precedence rules.
_______________________________________________
vox-tech mailing list
[email protected]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to