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

The lengths of brook trout caught in a certain Colorado stream are normally distributed with a mean of 14 inches and a standard deviation of 3 inches. What lowe
8. India was the birthplace of two major religions that were A) Karma and Caste System. B) Hinduism and Buddhism. C) Daoism and Legalism. D) Shinto and Taoism.
state five structural difference between a prawn and a cockroach​
Whats Fe2O3 compound name
K (-2, 4) is a point on the terminal side of θ in standard form. Find the exact value of sec (θ)
How many 3/4 cup servings are in 10 cups of juice? Use a model and an equation to show your work.
two segments are divided proportionally. If the ratio of the two parts of the first segment is 3:5, what is the length of the longer part of the second segment
help me. please I need help
The graph shows the relationship between distance driven and gallons of gas used.
plss answer I need it now ty​