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?
The code will fail at line 3 because shift requires two arguments.
The code will output the following:
11
10
white
Submit