ashlynnanne8033 ashlynnanne8033
  • 22-08-2019
  • Computers and Technology
contestada

)In a vector implementation of a stack ADT, you clear all of the contents of a stack using which vector method

a. Clear

B. Delete

C. Delete all

D. None of the other answers

Respuesta :

Cetacea
Cetacea Cetacea
  • 28-08-2019

Answer: a)Clear

Explanation: Stack ADT(Abstract Data type) is the datatype that works in the form of the group of elements having the insertion and deletion of the object by last in first out mechanism.

When there is the vector implementation on stack of ADT then, for removing all the elements from the collection is done by using the command "clear".thus option (a) is the correct option.

Answer Link

Otras preguntas

What is the slope of the line (-11,-16),(-3,10)
Facts about the Great Vancouver Fire (as many as possible please)
Why is the literature of exploration filled with so many journals, letters, letters, and other nonfiction sources?
What is the purpose of using fraction strips and a one strip
A map has a scale of 1 cm : 15.5 km. Two cities are 2.3 cm apart on the map. To the nearest tenth of a kilometer, what is the actual distance corresponding to t
Danica has laid out floor tiles so they form a rectangle with a perimeter of 18 inches. what us the diffrence between the greatest and least possible areas of t
( 4,?)Is on the line y=2×+3. find the other half of the coordinate
"Regina loves to play sport's after class." The incorrect word or phrase is?
The first romans were what nationally
"Regina loves to play sport's after class." The incorrect word or phrase is: