PrepAway - Latest Free Exam Questions & Answers

What is the result of this code block?

Consider the following code block:
BEGIN {print (“Jan “);}
BEGIN {print (“Feb “);}
END {print (“Mar “);}
END {print (“Apr “);}
Print (“May “);

What is the result of this code block?

PrepAway - Latest Free Exam Questions & Answers

A.
Jan Feb May Apr Mar

B.
Jan Feb Mar Apr May

C.
Mar Apr May Jan Feb

D.
May Jan Feb Mar Apr

Explanation:

______________________________________________________________________________


Leave a Reply