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
A
Answer is B. (Verified by code)
The code will output the following:
Apple Grapefruit Orange 20 100