CIW PERL FUNDAMENTALS 1D0-437 Question # 4 Topic 1 Discussion

CIW PERL FUNDAMENTALS 1D0-437 Question # 4 Topic 1 Discussion

1D0-437 Exam Topic 1 Question 4 Discussion:
Question #: 4
Topic #: 1

Consider the following program code:

$val = 5;

if ($val++ == 6)

{

print("True ");

}

else

{

print("False ");

}

if ($val++ == 6)

{

print("True ");

}

else

{

print("False ");

}

What is the output of this code?


A.

False False


B.

False True


C.

True False


D.

True True


Get Premium 1D0-437 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.