1.

Which of the following operators has the highest precedence?(a) Unary +(b) *(c) >=(d) ==The question was posed to me during an online interview.My doubt is from Implementation of Increment and Decrement topic in division Syntax Directed Definition and Translations of Compiler

Answer» CORRECT OPTION is (a) UNARY +

To EXPLAIN: Unary operators have max precedence in over all other arithmetic operators.


Discussion

No Comment Found

Related InterviewSolutions