首页 > 试题广场 >

In following code, expression

[单选题]
In following code, expression#1 ( ) let $point get the reference of @ARGV, expression#1 should be:
#!/usr/contrib/bin/perl -w

expression#1

print "ARGV = ", join(",", expression#2), "\n";
  • my $point=@ARGV;
  • my $point={@ARGV};
  • my $point=ARGV;
  • my $point=\@ARGV;
引用就是指针,一个标量类型可以指向标量、数组、hash、子程序。
发表于 2022-08-06 08:46:48 回复(0)