Home »
MCQs »
Perl Programming MCQs
What will be the output of the following Perl code (3)?
78. What will be the output of the following Perl code?
$a = 8;
until ($a <= 7){
print "Value of a = $a\n";
$a = $a - 1;
}
- Value of a = 8
- Infinite loop
- No run
- None
Answer: A) Value of a = 8