Q. Which function is used to remove the last element from an array?
β
Correct Answer: (A)
array_pop()
Explanation: array_pop() removes the last element of an array.