PrepAway - Latest Free Exam Questions & Answers

What is the output of this code?

Consider the following program code:
@array = (“ALPHA”, “beta”, “GaMmA”);
@array = sort(@array);
print(“@array”);
What is the output of this code?

PrepAway - Latest Free Exam Questions & Answers

A.
betaGaMmA ALPHA

B.
ALPHAGaMmA beta

C.
ALPHA betaGaMmA

D.
beta ALPHAGaMmA

One Comment on “What is the output of this code?


Leave a Reply