Multiple choice technology programming languages

In Perl, which of the following are file handles?

  1. stdquit

  2. stdend

  3. stdin

  4. stdout

  5. c&d

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Perl has three standard file handles: STDIN (input), STDOUT (output), and STDERR (error output). Options A and B list fictitious handles. Options C and D show lowercase versions which are not the standard file handles (though Perl allows custom ones). Option E correctly identifies both C and D as actual file handles.