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

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

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

Consider the following program code:

@stack = (10, 10..25);

push(@stack, yellow);

shift(@stack);

push(@stack, white);

print shift(@stack);

What is the result of executing this program code?


A.

The code will fail at line 3 because shift requires two arguments.


B.

The code will output the following:

11


C.

The code will output the following:

10


D.

The code will output the following:

white


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.