mcait8189 mcait8189
  • 13-07-2019
  • Computers and Technology
contestada

The operation ____ is used to remove the top element from the stack.

A.
pop

B.
push

C.
peek

Respuesta :

PhantomWisdom PhantomWisdom
  • 18-07-2019

Answer:

pop

Explanation:

stack is a data structure perform the operation in specific order. The order stack follow is last in first out (LIFO).

push function is used to insert the element at the top of the stack.

peek is used to retrieve or fetch the element at the top.

pop is used to remove or delete the top element from the stack.

Therefore, the option A is correct.

Answer Link

Otras preguntas

Identify the reflection of the figure with vertices
HELP PLEASE ASAP!!!! A group of students were surveyed to find out if they like watching television or reading during their free time. The results of the survey
Hassem and his family cut an apple pie into 5 equal slices and a blueberry pie into 10 equal slices. They ate  of the apple pie. If they ate the same fraction o
The length of one leg of a right triangle is 48 ft, and the length of the hypotenuse is 50 ft. What is the length of the other leg? 12.0 feet 9.9 feet 14.0 feet
Dial-up connections can be made over a(n) ____ line or phone line. isdn dsl ipx tcp/ip
When did peru claim its independence and what is perus favorite dish to eat
Write the number 15,409 in two forms
Which tribe was most successful at resisting efforts to convert them to catholicism? pueblos conchos coahuiltecans pimas aztecs?
use the distributive property to remove the parentheses 2(v+2)
Which elements do poets use to create the mood?