Multiple choice technology programming languages

Which of the following is not a predefined subroutine?

  1. BEGIN

  2. END

  3. DEFAULT

  4. AUTOLOAD

  5. NONE OF THE ABOVE

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

Perl has predefined special subroutines: BEGIN (runs at compile time), END (runs at program end), AUTOLOAD (handles undefined subroutine calls), DESTROY (for object cleanup), INIT, CHECK. DEFAULT is NOT a predefined Perl subroutine.