C

CIW Perl Fundamentals

99 Questions

You can start the exam to practice all questions related to this exam.

Question No. 1

Consider the following program code:

$x = 150;

$y = "250";

if (($x + 100) == $y) { print("1 "); }

if ("250" == $y) { print("2 "); }

if ("250" eq $y) { print("3 "); }

if ($x lt $y) { print("4 "); }

if ($x ge $y) { print("5 "); }

What is the result of executing this program code?

Choose the correct option from the given list.
01 / 99

0 Discussions

Trending Exams