Vidyalelo
Computer Science · Q577

Linux

Engineering and GATE · Computer Science · question 577

Q577

What is the output of the following program? x = 3; y = 5; z = 10; if [( x -eq 3 ) -a ( y -eq 5 -o z -eq 10 )] then echo x else echo y fi

A.
1
B.
3
Answer
C.
5
D.
Error

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board