QUIZ 4

What is the output?

a.0
b.1
c.-1
d.None of these

Answer : a

x++ gives x=11
y– gives y=19
z-=x+++y gives x=12,y=19,z=31
t=x&&y||z
t=12&&19||31
=1||31
=1
t– gives t=0

Leave a Reply

Your email address will not be published. Required fields are marked *