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;
}
  1. Value of a = 8
  2. Infinite loop
  3. No run
  4. None

Answer: A) Value of a = 8

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.