What will be the output of the following Perl code (1)?

29. What will be the output of the following Perl code?

$m = 2;

if ($m){
    print "True";
}
else{
    print "False";
}
  1. True
  2. False
  3. Error
  4. None of these

Answer: A) True

Comments and Discussions!

Load comments ↻






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