πŸ“Š Perl
Q. What will be the output of the following Perl code?
Code:
$a = 8;

until ($a <= 7){
    print "Value of a = $a\n";
    $a = $a - 1;
}
  • (A) Value of a = 8
  • (B) Infinite loop
  • (C) No run
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (A) Value of a = 8

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
206
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
86%
Success Rate