Integer p,q,r Set p= 9,q= 5,r=7 r=4&q p= p^p if((q&r)
Answers
Answered by
2
Answer:
p=0,q=5,r=4
Explanation:
as p&q is 5 it goes in to if loop
initially p=9,q=5,r=7
r=4&5 it is r=4 after bit wise AND
p=p^p it becomes zero
Answered by
0
From the given question the correct answer is
p=0,q=5,r=4
because
as p&q is 5 it goes in to if loop
initially p=9,q=5,r=7
r=4&5 it is r=4 after bit wise AND
p=p^p it becomes zero
Similar questions