Question: Assume s 1 , s 2 are two stacks and we write s 1 = s 2 , if the class stack based on Linked

Assume s1,s2 are two stacks and we write s1=s2, if the class stack based on Linked list then
Select one:
a. The compiler copies all the items including the rubbish items
b. The compiler copies our data only
c. The compiler calls the destructor and remove all the items
d. The compiler sets the topindex pointer in both stacks to be the same
 Assume s1,s2 are two stacks and we write s1=s2, if the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!