Multiple choice technology programming languages

my %hash = ( 'hi' => {'hello' => 'all'}, 'bye' => {'later' => 'gone'} ); print $hash{'hi'};

  1. hello

  2. 0

  3. hello => all

  4. HASH(0x??????) where ?????? is a group of hex digits.

  5. error

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

$hash{'hi'} contains a reference to another hash ({'hello' => 'all'}). When you print a hash reference directly, Perl shows its type and memory address: HASH(0x...) with hex digits. To see the contents, you'd need to dereference.