how to get precedence of operator?

http://geeksquiz.com/gate-gate-cs-2000-question-44/

is this ques, precedence of operator varies from eg to eg... so how to solve it.?? 

1Comment
meet @meet 29 Jan 2016 11:09 pm

precedence of any operator must decide from the grammar and in this grammar whenever u draw the tree for that grammar than in u find "-" at the lower level so "-" has high precedence then other

Pages