A
aarklon
Hi all,
Is there any mnemonic for remembering C precedence rules????
I have just coined the word TUBSREBLCAC
where T --- top level operators
U ---- unary operators
B ----- binary operators
S ------ shift operators
R------- relational operators
E ------ equality operators
B ------- bitwise operators
L ------- logical operators
C ----- conditional operators
A ----- assignment operators
C ------ comma operator
how good is this mnemonic
or is there any simple mnemonic such as
"How I want a sweetened drink of course after the heavy lectures
involving quantum mechanics" which is mainly used by math pros for
remembering Pi value(3.14195265358979)
Is there any mnemonic for remembering C precedence rules????
I have just coined the word TUBSREBLCAC
where T --- top level operators
U ---- unary operators
B ----- binary operators
S ------ shift operators
R------- relational operators
E ------ equality operators
B ------- bitwise operators
L ------- logical operators
C ----- conditional operators
A ----- assignment operators
C ------ comma operator
how good is this mnemonic
or is there any simple mnemonic such as
"How I want a sweetened drink of course after the heavy lectures
involving quantum mechanics" which is mainly used by math pros for
remembering Pi value(3.14195265358979)