Predict the output

x=350
sum=0
until [ $x -eq 0 ]
do
	sum=`expr $sum + 1`
	x=`expr $x / 10` 
done
echo $sum

8

3

2

Infinite loop

Verified Answer
Correct Option - b

To get all Infosys Certified Unix Associate Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram