Slide 32
Slide 32 text
Which Is True
✦ Both lines print 5
✦ Both lines print 2
✦ First line prints 5, Second
line prints 3
✦ First line prints 3, Seconds
line prints 2
sub count {
return scalar @_;
}
print count 2, 3, “\n”;
print count(2, 3), “\n”;
Saturday, October 1, 2011