What is the result of executing this program code?

Consider the following program code:
$y=l; $x = 2; $z = 3;
do
{
print ($y); } while ($y eq 2);
do
{

print ($x); } until ($x eq 2);
print ($z);
What is the result of executing this program code?

Consider the following program code:
$y=l; $x = 2; $z = 3;
do
{
print ($y); } while ($y eq 2);
do
{

print ($x); } until ($x eq 2);
print ($z);
What is the result of executing this program code?

A.
The code will output the following: 1 23

B.
The code will output the following 3

C.
The code will output the following 23

D.
The code will output the following 32 1



Leave a Reply 0

Your email address will not be published. Required fields are marked *