• Home
  • What will be printed by the code below? my $val = 'x'; print ref($val);
Question 1:
What will be printed by the code below?
my $val = 'x';
print ref($val);
A. SCALAR
B. empty value
C. STRING
D. not a reference

These questions are from this test. Would you like to take a practice test?

Perl Quiz 2 | Englishfreetest.com