0 0 votes Hi, Is there any smart way to learn operator precedence table ? (means can we form some kind of logical connection instead of mugging entire table.) If some good reference could be provided then it will be great help. PS: http://www.geeksforgeeks.org/c-operator-precedence-associativity/ Programming in C programming-in-c + – Chhotu 3.4k views answer comment Share Follow Print See 1 comment 1 1 comment reply Namit Dhupar commented Nov 20, 2017 i edited by Namit Dhupar Nov 20, 2017 reply Follow flag I am guessing this same concept is used in Compiler Design parsing also! So you can watch RVR or Nptel 1 1 replyShare Please log in or register to add a comment.
4 4 votes Hi Guys, Please refer -> https://stackoverflow.com/questions/4204973/shortcut-to-remember-the-order-of-evaluation-and-precedence-of-operators-in-c PUMA IS REBL ( spell "REBL" as if "REBEL"). or PUMA'S REBL TAC (with a puma being a cat and since our cat is a spelling rebel, it writes "cat" backwards) For Associative All except Unary,Assignment and Ternary are Left to Right. Chhotu answered Nov 30, 2017 Chhotu comment Share Follow 0 reply Please log in or register to add a comment.