Which statement writes data to the filehandle OUTPUT?

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”;



Leave a Reply 0

Your email address will not be published. Required fields are marked *