Get detailed and accurate responses to your questions on IDNLearn.com. Get comprehensive answers to all your questions from our network of experienced experts.

write a function that, given a non-empty stack of integers, returns the largest value. afterwards, the stack should have the same contents, in the same order, as before the call. stacks.c