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

Which nations conducted the Nuremberg trials in the years following World War II to punish nazi war criminals
one teacher wants to give each student 7/8 of a slice of pizza. If the teacher has 7 slices of pizza then how many students will she be able to hand out pizza t
a punch recipe calls for 2parts soda to 3 parts fruit juice. if you use 8 cups of soda, of soda how much fruit juice do need​
Fill in the blank in the following sentence with the appropriate form of the verb Lavarse below Los ninos ______ las manos
Which solution turns litmus paper red
Problems of nuclear energy and solutions for them plz
(04.01 LC) Which of the tables represents a function
which is a feature of a constitutional monarchy
6) Find mQS 114 0 730 A) 146° C) 136° B) 150° D) 194°
please help i can't do this. much appreciated!! ​