K Khang Lê New member Sep 17, 2021 #1 To add elements to the right side of the array ____ function is used. A. pop B. push C. queue D. unshift
To add elements to the right side of the array ____ function is used. A. pop B. push C. queue D. unshift
N Ngô Trường Vủ New member Sep 17, 2021 #2 Answer: b Explanation: Ta add elements to the right side of the array, use the push function. For example, Code: @list= (5,9) ; // this is 5,9 unshift( @list,13) ; // now it becomes 5,9,13 Upvote 0 Downvote
Answer: b Explanation: Ta add elements to the right side of the array, use the push function. For example, Code: @list= (5,9) ; // this is 5,9 unshift( @list,13) ; // now it becomes 5,9,13