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 square root of 81
name and describe the cell structure that helps prevent damage to certain cells when they are subjected to high osmotic pressure
Three more than the quotient of a number and two is 7
1.) Explain the process of ejaculation. 2.) Explain the process of menstruation. Note: The explanations must have 2-3 sentences each.
7000 pounds is how many tons
So I'm doing angles and I have find the value of X.and I have X and 110 degrees.how do I do that and what's the answer?
To make a ___________________ , position your car to the right side of the right lane. A. left turn B. left lane change C. stop for pedestrians D. rig
Which people established the worlds first trading empire??
how many atoms are there in 1.3 x 10^22 molecules of N(O)2
What is square root of 81