UGC NET CS 2015Programming Languages and Computer Graphics › Language Design and Translation IssuesVerified
UGC NET CS 2015 PYQ: Given that $x=7.5, j=-1.0, n=1.0, m=2.0$ the value of $--x+j==x>n>=m$ is:
Given that $x=7.5, j=-1.0, n=1.0, m=2.0$ the value of $--x+j==x>n>=m$ is:
- A0Correct answer
- B1
- C2
- D3
Answer
(A) 0
Approach
Apply C precedence: unary, then relational, then equality, evaluating left-associative relational operators in order.
Reviewed by UGC IQ Editorial Team.