Which statement is the most accurate?
A.
The push function adds elements to the beginning of an array.
B.
The push function removes the first element in an array.
C.
The pop function removes the first element in an array.
D.
The pop function removes the last element in an array.