1 votes 1 votes Given that $x=7.5, j=-1.0, n=1.0, m=2.0$ the value of $--x+j==x>n>=m$ is: $0$ $1$ $2$ $3$ Programming in C ugcnetcse-june2015-paper2 programming-in-c + – go_editor asked Jul 30, 2016 edited Jun 5, 2020 by go_editor go_editor 2.9k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes --x+j==x>n>=m 6.5 +(-1.0) ==6.5 > 1.0 >= 2.0 5.5 == 1 > = 2.0 3.5 == 0 false so 0 is ans Prashant. answered Jul 30, 2016 selected Feb 16, 2017 by Sanjay Sharma Prashant. comment Share Follow See 1 comment See all 1 1 comment reply JashanArora commented Nov 19, 2020 reply Follow Share 3.5, how? 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes $--x+j==x>n>=m$ Priority: $increment > arithmetic > inequality > equality$ Associativity is left to right for the inequality operators. $((6.5-1.0)==((6.5>1.0)>=2.0))$ $=> 5.5==(1>=2.0)$ $=> 5.5==0$ $=>0$ JashanArora answered Nov 19, 2020 JashanArora comment Share Follow See all 0 reply Please log in or register to add a comment.