and run tryStack1
- Compile and run tryStack2
- Based on the results obtained and the code provided, answer the following questions
:
• What can we say about the execution of tryStack1 and tryStack2?
• Describe the flow of the call to tryStack1 and tryStack2.
• What are the implementation differences between tryStack1 and tryStack2?
• What did we want to highlight?
Sample Solution