Write a CompStack() function which takes pointer to two stack as an argument and return true or

Question:

Write a CompStack() function which takes pointer to two stack as an argument and return true or false depending upon whether all the elements of the stack are equal or not. You are given isEqual(int, int)

which will compare and return true if both values are equal and 0 if they are different.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: