CIW Exam Questions

Which statement writes data to the filehandle OUTPUT?

Which statement writes data to the filehandle OUTPUT?

A.
print “Here’s my data.\n” > OUTPUT

B.
write OUTPUT “Here’s my data.\n”;

C.
write OUTPUT “>Here’s my data.\n”;

D.
print OUTPUT “Here’s my data.\n”;