What is the result of executing this program code?

Consider the program code in the attached exhibit.

What is the result of executing this program code?

Consider the program code in the attached exhibit.

What is the result of executing this program code?

A.
The code will output the following:
20 100 Apple Grapefruit Orange

B.
The code will output the following:
Apple Grapefruit Orange 20 100

C.
The code will output the following:
100 20 Apple Grapefruit Orange

D.
The code will output the following:
Orange Grapefruit Apple 100 20



Leave a Reply 2

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


jshrulez

jshrulez

Answer is B. (Verified by code)

The code will output the following:
Apple Grapefruit Orange 20 100