Consider the following program code
@list – (10..15);
foreach(@list)
{
print(“$_ “);
}
What is the result of executing this program code?
A.
The code will output the following
$_ $_ $_ $_ $_
B.
The code will output the following
11 12 13 14
C.
The code will output the following
10 11 12 13 14
D.
The code will output the following
10 11 12 13 14 15
D