Sail E0 Webinar
Question
What is the output of the given code?a="hungry"until !aputs "hungry"a=!aend
Options:
A .  hungry
B .  Nil
C .  Error
D .  None of the mentioned
Answer: Option A


Until the condition is not met execute the loop.
Output:
hungry



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers