1 votes 1 votes Programming in C java programming + – Harikesh Kumar asked Jan 12, 2018 Harikesh Kumar 281 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes The division has higher precedence than any other operator. So, it evaluates first and during runtime, Java throws java.lang.ArithmeticException. Avdhesh Singh Rana answered Jan 12, 2018 Avdhesh Singh Rana comment Share Follow See all 2 Comments See all 2 2 Comments reply Harikesh Kumar commented Jan 12, 2018 reply Follow Share My answer is also : Run time error But given answer is : 2 So I was thinking (x!=10&&x/0==0) Is false (according to question x=10) Then its print (++y) So answer is :2 But is it possible I am confused ? 0 votes 0 votes Avdhesh Singh Rana commented Jan 13, 2018 reply Follow Share If you really want to confirm it. Then run it on the compiler. You'll get the answer. 0 votes 0 votes Please log in or register to add a comment.