CIW Exam Questions

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?

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:

______________________________________________________________________________