Q.

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
C. 5
D. error
Answer» B. 3
1k
0
Do you find this helpful?
10

Discussion

No comments yet