The command @x=(1. .10) will assign first ten integer values to the array ‘a’.

The command @x=(1. .10) will assign first ten integer values to the array ‘a’.
A. True
B. False
 
Answer: a
Explanation: Lists and arrays lie at the heart of perl. Perl has a large number of functions to manipulate them. For example, in the following we’ve assigned three values to array @month:
Code:
@month =  {“jan”, “feb”, “march”} ;        //$month[1] is feb
 

Tìm kiếm

Back
Top