adplus-dvertising
frame-decoration

Question

For deleting the elements from the right of the array ___ function is used.

a.

pop

b.

push

c.

queue

d.

shift

Posted under UNIX

Answer: (a).pop

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. For deleting the elements from the right of the array ___ function is used.

Similar Questions

Discover Related MCQs

Q. To add elements to the left side of the array ____ function is used.

Q. To add elements to the right side of the array ____ function is used.

Q. Which function can combine the functionalities of push, pop, unshift and shift?

Q. Perl also supports use of for loop in the following manner.

for($i=0;$i<3;$i++){ }

Q. For splitting a line or expression into fields, __ is used.

Q. ___ function is used for joining lists.

Q. perl is ____ of grep, tr, sed and awk.

Q. The following will display :

perl -e ‘print “UNIX” x 10 . “\n” ;’

Q. Filter’s are a category of commands that take the advantage of shell redirection feature.

Q. Which command is used for preparing a file for printing?

Q. pr command adds ____ lines of margin at the top and bottom.

Q. Which option is used with pr command for printing multi-columnar output?

Q. Which option is used with pr command to suppress the header and footers?

Q. Which option is used with the tail command for extracting bytes instead of lines?

Q. paste command uses space as the default field delimiter.

Q. _____ option is used with paste command if we want to specify our own delimiter.

Q. Which option is used with paste command for joining lines?

Q. ____ command is used for sorting a file on specified fields.

Q. The name of the input and output files cannot be same while using sort command.

Q. Which command is used for locating repeated and non-repeated lines?