Question: Assume s 1 , s 2 are two stacks and we write s 1 = s 2 , if the class stack based on Linked
Assume are two stacks and we write 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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
