Skip to content
Related Articles

Related Articles

Improve Article
UGC-NET | UGC NET CS 2016 Aug – II | Question 11
  • Difficulty Level : Hard
  • Last Updated : 11 Apr, 2018

Given i= 0, j = 1, k = – 1
x = 0.5, y = 0.0
What is the output of given ‘C’ expression ?
x * 3 & & 3 || j | k
(A) -1
(B) 0
(C) 1
(D) 2


Answer: (C)

Explanation: According to given data:

 x * 3 && 3 || j | k
= 1.5 && 3 || j | k
= 1 || j |k
= 1

So, option (C) is correct.


Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :