I'm studying for an exam, so hopefully someone can clarify some things for me. Thought I'd post everything under one thread, instead of making a new one for every question that comes up. I typed up a list of precedence levels and this is what I've got so far.
unary - +
arithmetic operators * / % - +
relational operators < > <= >=
logic operators && ||
bitwise operators ~ & ^ |
I'm not sure where >> and << go.
I found this list on some site, but it doesn't include bitwise operators.
( ) [ ] -> .
! ~ - * & sizeof cast ++ -
* / %
+ -
< <= >= >
== !=
&
^
&&
||
?: (right->left)
= += -= (right->left)
, (comma)
Thanks in advance!
You guys have been so helpful!! All the little things I've overlooked or ignored are starting to make sense