Which of the following is correct about the shift?
Posted: Wed Jul 13, 2022 7:53 pm
a) Returns new array after shifting elements by the given number
b) Shifts the elements towards left if the argument supplied is positive
c) Shifts the elements towards the right if the argument supplied is negative
d) All of the mentioned
b) Shifts the elements towards left if the argument supplied is positive
c) Shifts the elements towards the right if the argument supplied is negative
d) All of the mentioned