Question: data structures and algorithms. in c language 18. Write a new ADT function, catStack, that concatenates the contents of one stack on top of another.
18. Write a new ADT function, catStack, that concatenates the contents of one stack on top of another. Test your function by writing a program that uses the ADT to create two stacks and prints them. It should then concat- enate the stacks and print the resulting stack
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
